forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.01 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
{
"private": true,
"license": "MIT",
"workspaces": [
"packages/*"
],
"options": {
"mocha": "--full-trace --require @babel/register --require resources/mochaBootload 'packages/{*,!graphiql}/src/**/__tests__/**/*-test.js'",
"mocha_tdd": "--full-trace --watch --require resources/mochaBootload packages/*/src/**/__tests__/**/*-test.js"
},
"browserify-shim": {
"react": "global:React",
"react-dom": "global:ReactDOM"
},
"browser": {
"copy-to-clipboard": "./node-modules/copy-to-clipboard/index.js"
},
"scripts": {
"build": "lerna run build",
"test": "yarn run lint && yarn run check && yarn run build && yarn run testonly",
"testonly": "mocha $npm_package_options_mocha && lerna run test --scope graphiql",
"t": "yarn run testonly",
"lint": "eslint packages/**/src || (printf '\\033[33mTry: \\033[7m yarn run lint -- --fix \\033[0m\\n' && exit 1)",
"lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"check": "flow check --show-all-errors",
"prepublish": "node resources/prepublish.js",
"pretty": "node resources/pretty.js",
"pretty-check": "node resources/pretty.js --check"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/node": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "7.4.5",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"@babel/register": "^7.4.4",
"babel-eslint": "^10.0.1",
"chai": "4.2.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "4.3.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-dependencies": "2.4.0",
"eslint-plugin-flowtype": "3.10.3",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-react": "7.13.0",
"fetch-mock": "^6.0.0",
"flow-bin": "^0.101.0",
"graphql": "^14.3.1",
"lerna": "^3.15.0",
"mocha": "6.1.4",
"prettier": "^1.18.2"
}
}