-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.8 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
{
"name": "fetz",
"version": "1.0.5",
"description": "Generic fetch consisting of CRUD operations",
"jsnext:main": "dist/fetz.es.js",
"module": "dist/fetz.es.js",
"main": "dist/fetz.js",
"umd:main": "dist/fetz.umd.js",
"files": [
"dist"
],
"author": "Bishal Pantha",
"license": "MIT",
"keywords": [
"fetch",
"ajax",
"crud",
"fetz"
],
"scripts": {
"build": "npm-run-all clean -p rollup -p minify:* -s size",
"clean": "rimraf dist",
"lint": "eslint src",
"test": "yarn lint && jest --coverage",
"tdd": "jest --watch",
"rollup": "rollup -c",
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",
"minify:umd": "uglifyjs $npm_package_umd_main -cm -o $npm_package_umd_main -p relative --in-source-map ${npm_package_umd_main}.map --source-map ${npm_package_umd_main}.map",
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size)\"",
"release": "yarn test && yarn build && yarn version --patch && yarn publish && git push --tags"
},
"devDependencies": {
"babel-eslint": "^8.2.3",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^21.15.0",
"gzip-size-cli": "^2.1.0",
"jest": "^22.4.3",
"nock": "^9.2.5",
"npm-run-all": "^4.1.2",
"rimraf": "^2.6.2",
"rollup": "0.41.6",
"rollup-plugin-babel": "2.7.1",
"strip-json-comments-cli": "^1.0.1",
"uglify-js": "2.8.22"
},
"dependencies": {
"isomorphic-unfetch": "^2.0.0"
},
"jest": {
"testURL": "http://localhost"
}
}