forked from IvanGoncharov/graphql-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "graphql",
"version": "14.1.1",
"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": "https://github.com/graphql/graphql-js.git"
},
"keywords": [
"graphql",
"graphql-js"
],
"engines": {
"node": ">= 6.x"
},
"scripts": {
"watch": "node ./resources/watch.js",
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "npm run lint -- --no-cache && npm run check && npm run testonly:cover",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc --clean --skip-full --reporter json --reporter html --reporter text -- npm run testonly",
"lint": "eslint --cache --report-unused-disable-directives src",
"benchmark": "node ./resources/benchmark.js",
"prettier": "prettier --write --list-different 'src/**/*.js'",
"check": "flow check",
"check-cover": "flow batch-coverage --quiet --strip-root --show-all src/ && flow stop --quiet",
"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:js": "babel src --ignore 'src/__fixtures__,**/__tests__'",
"build:cjs": "npm run build:js -- --env-name cjs --out-dir dist/",
"build:mjs": "npm run build:js -- --env-name mjs --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 '*/__fixtures__*' -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.2.3",
"@babel/core": "7.3.4",
"@babel/plugin-transform-flow-strip-types": "7.3.4",
"@babel/polyfill": "7.2.5",
"@babel/preset-env": "7.3.4",
"@babel/register": "7.0.0",
"babel-eslint": "10.0.1",
"benchmark": "2.1.4",
"chai": "4.2.0",
"eslint": "5.15.3",
"eslint-plugin-flowtype": "3.4.2",
"eslint-plugin-prettier": "3.0.1",
"flow-bin": "0.95.1",
"mocha": "6.0.2",
"nyc": "13.3.0",
"prettier": "1.16.4",
"sane": "4.1.0"
}
}