forked from graphql/graphql-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 3.77 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
{
"name": "graphql",
"version": "14.0.0-rc.2",
"description": "A Query Language and Runtime which can target any service.",
"license": "MIT",
"main": "index",
"module": "index.mjs",
"sideEffects": false,
"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": "--check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js"
},
"engines": {
"node": "6.x || 8.x || 9.x || >= 10.x"
},
"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": "mocha --require @babel/register --require @babel/polyfill",
"testonly": "mocha --require @babel/register --require @babel/polyfill --check-leaks --full-trace --timeout 15000 src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc --reporter html --reporter text-summary -- npm run testonly",
"testonly:coveralls": "nyc --silent -- npm run testonly && nyc report --reporter text-lcov | 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",
"prepublishOnly": ". ./resources/prepublish.sh",
"gitpublish": ". ./resources/gitpublish.sh"
},
"dependencies": {
"iterall": "^1.2.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/node": "^7.0.0-beta.51",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.51",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51",
"@babel/plugin-syntax-async-generators": "^7.0.0-beta.51",
"@babel/plugin-transform-classes": "^7.0.0-beta.51",
"@babel/plugin-transform-destructuring": "^7.0.0-beta.51",
"@babel/plugin-transform-flow-strip-types": "^7.0.0-beta.51",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.51",
"@babel/plugin-transform-spread": "^7.0.0-beta.51",
"@babel/polyfill": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/register": "^7.0.0-beta.51",
"babel-eslint": "8.2.4",
"babel-plugin-syntax-async-functions": "6.13.0",
"beautify-benchmark": "0.2.4",
"benchmark": "2.1.4",
"chai": "4.1.2",
"coveralls": "3.0.1",
"eslint": "4.19.1",
"eslint-plugin-babel": "5.1.0",
"eslint-plugin-flowtype": "2.49.3",
"eslint-plugin-prettier": "2.6.0",
"flow-bin": "0.75.0",
"mocha": "5.2.0",
"nyc": "^12.0.2",
"prettier": "1.13.5",
"sane": "2.5.2"
}
}