-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.85 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "graphql-query-batcher",
"version": "1.0.1",
"description": "light weight query batcher for graphql",
"main": "dist/graphqlQueryBatcher.js",
"umd:main": "dist/graphqlQueryBatcher.umd.js",
"scripts": {
"flow": "flow",
"prettier": "prettier --parser flow --single-quote --trailing-comma es5 --no-semi --write src/**/*.js",
"lint": "eslint src",
"test": "npm run lint && flow && jest",
"build": "npm-run-all clean -p rollup:* -p minify:* -s size",
"clean": "rimraf dist && mkdirp dist",
"rollup:cjs": "rollup -c rollup.config.js -m -f cjs -n gql src/index.js -o $npm_package_main",
"rollup:umd": "rollup -c rollup.config.js -m -f umd -n gql src/index.js -o $npm_package_umd_main",
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel -o $npm_package_main --source-map=\"content=${npm_package_main}.map filename=${npm_package_main}.map\"",
"minify:umd": "uglifyjs $npm_package_umd_main -cm -o $npm_package_umd_main --source-map=\"content=${npm_package_umd_main}.map filename=${npm_package_umd_main}.map\"",
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size)\"",
"docs": "documentation readme src/index.js -s Docs",
"prepublish": "npm run -s build",
"release": "npm run build -s && npm run docs -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/nicksrandall/graphql-query-batcher.git"
},
"keywords": [
"graphql"
],
"author": "Nick Randall",
"license": "MIT",
"bugs": {
"url": "https://github.com/nicksrandall/graphql-query-batcher/issues"
},
"homepage": "https://github.com/nicksrandall/graphql-query-batcher",
"files": [
"src",
"dist"
],
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended"
],
"plugins": [
"flowtype"
],
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
},
"devDependencies": {
"babel-core": "^6.9.1",
"babel-eslint": "^7.1.1",
"babel-jest": "^20.0.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"documentation": "^5.3.2",
"eslint": "^4.5.0",
"eslint-plugin-flowtype": "^2.39.1",
"flow-bin": "^0.56.0",
"gzip-size-cli": "^2.0.0",
"jest": "^20.0.4",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.0.2",
"prettier": "^1.7.4",
"rimraf": "^2.5.2",
"rollup": "^0.48.2",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-flow": "^1.1.1",
"strip-json-comments-cli": "^1.0.1",
"uglify-es": "^3.1.3"
}
}