-
Notifications
You must be signed in to change notification settings - Fork 2k
/
package.json
71 lines (71 loc) · 3.42 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
{
"name": "graphql",
"version": "0.13.2",
"description": "A Query Language and Runtime which can target any service.",
"license": "MIT",
"main": "index",
"module": "index.mjs",
"homepage": "https://github.com/graphql/graphql-js",
"bugs": {
"url": "https://github.com/graphql/graphql-js/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/graphql/graphql-js.git"
},
"options": {
"mocha": "--require ./resources/mocha-bootload --check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js"
},
"scripts": {
"watch": "babel-node ./resources/watch.js",
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "npm run lint && npm run check && npm run testonly:coveralls",
"t": "babel-node ./node_modules/.bin/_mocha --require ./resources/mocha-bootload",
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",
"testonly:cover": "babel-node ./node_modules/.bin/isparta cover --root src --report html _mocha -- $npm_package_options_mocha",
"testonly:coveralls": "babel-node ./node_modules/.bin/isparta cover --root src --report lcovonly _mocha -- $npm_package_options_mocha && cat ./coverage/lcov.info | coveralls",
"lint": "eslint --rulesdir ./resources/lint src || (printf '\\033[33mTry: \\033[7m npm run lint -- --fix \\033[0m\\n' && exit 1)",
"benchmark": "node ./resources/benchmark.js",
"prettier": "prettier --write 'src/**/*.js'",
"check": "flow check",
"check-cover": "for file in {src/*.js,src/**/*.js}; do echo $file; flow coverage $file; done",
"build": "npm run build:clean && npm run build:cp && npm run build:package-json && npm run build:cjs && npm run build:mjs && npm run build:flow",
"build:clean": "rm -rf ./dist && mkdir ./dist",
"build:cp": "cp README.md LICENSE ./dist",
"build:package-json": "node ./resources/copy-package-json.js",
"build:cjs": "babel src --optional runtime --ignore __tests__ --out-dir dist/",
"build:mjs": "BABEL_MODULES=1 babel src --optional runtime --ignore __tests__ --out-dir dist/module/ && for file in $(find dist/module -name '*.js'); do mv \"$file\" `echo \"$file\" | sed 's/dist\\/module/dist/g; s/.js$/.mjs/g'`; done && rm -rf dist/module",
"build:flow": "for file in $(find ./src -name '*.js' -not -path '*/__tests__*'); do cp \"$file\" `echo \"$file\" | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
"preversion": ". ./resources/checkgit.sh && npm test",
"prepublish": ". ./resources/prepublish.sh",
"gitpublish": ". ./resources/gitpublish.sh"
},
"dependencies": {
"iterall": "^1.2.1"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-eslint": "8.2.2",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-syntax-async-generators": "6.13.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "^1.5.2",
"beautify-benchmark": "0.2.4",
"benchmark": "2.1.4",
"chai": "4.1.2",
"chai-subset": "1.6.0",
"coveralls": "3.0.0",
"eslint": "4.19.1",
"eslint-plugin-babel": "4.1.2",
"eslint-plugin-flowtype": "2.46.1",
"eslint-plugin-prettier": "2.6.0",
"flow-bin": "0.69.0",
"isparta": "4.0.0",
"mocha": "5.0.0",
"prettier": "1.11.1",
"sane": "2.4.1"
}
}