forked from developit/unfetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "unfetch",
"version": "4.0.1",
"description": "Bare minimum fetch polyfill in 500 bytes",
"unpkg": "polyfill/index.js",
"main": "dist/unfetch.js",
"module": "dist/unfetch.mjs",
"jsnext:main": "dist/unfetch.mjs",
"umd:main": "dist/unfetch.umd.js",
"scripts": {
"test": "eslint src test && jest",
"build": "microbundle src/index.mjs && microbundle -f cjs polyfill/polyfill.mjs -o polyfill/index.js --no-sourcemap && cp dist/unfetch.mjs dist/unfetch.es.js",
"prepare": "npm run -s build",
"release": "cross-var npm run build -s && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": "developit/unfetch",
"keywords": [
"fetch",
"polyfill",
"xhr",
"ajax"
],
"homepage": "https://github.com/developit/unfetch",
"authors": [
"Jason Miller <[email protected]>"
],
"license": "MIT",
"types": "src/index.d.ts",
"files": [
"src",
"dist",
"polyfill"
],
"eslintConfig": {
"extends": "developit"
},
"jest": {
"testURL": "http://localhost/",
"testMatch": [
"<rootDir>/test/**/*.?(m)js?(x)"
],
"moduleFileExtensions": [
"mjs",
"js"
],
"transform": {
"^.+\\.m?jsx?$": "babel-jest"
}
},
"devDependencies": {
"babel-preset-env": "^1.7.0",
"cross-var": "^1.1.0",
"eslint": "^3.13.1",
"eslint-config-developit": "^1.1.1",
"jest": "^23.6.0",
"microbundle": "^0.6.0"
}
}