forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.69 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
{
"private": true,
"license": "MIT",
"workspaces": [
"packages/*",
"packages/examples/*"
],
"browserify-shim": {
"react": "global:React",
"react-dom": "global:ReactDOM"
},
"browser": {
"copy-to-clipboard": "./node-modules/copy-to-clipboard/index.js"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"scripts": {
"build": "tsc --build && lerna run build --scope codemirror-graphql --scope graphiql --scope graphql-language-service --scope graphql-language-service-server",
"test": "yarn run lint && yarn run check && yarn run build && yarn run testonly",
"testonly": "jest && lerna run test --scope codemirror-graphql",
"t": "yarn run testonly",
"lint": "eslint --ext=ts,js,jsx,tsx . || (printf '\\033[33mTry: \\033[7m yarn run lint -- --fix \\033[0m\\n' && exit 1)",
"lint:fix": "eslint --ext=ts,js,jsx,tsx . --fix",
"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",
"version:release": "lerna version",
"version:prerelease": "lerna version --conventional-prerelease",
"version:graduate": "lerna version --conventional-graduate"
},
"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",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/config-lerna-scopes": "^8.1.0",
"@types/jest": "^24.0.18",
"@typescript-eslint/parser": "^2.3.0",
"babel-eslint": "^10.0.1",
"chai": "4.2.0",
"codecov": "^3.5.0",
"conventional-changelog-conventionalcommits": "^4.1.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "6.3.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-flowtype": "4.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-react": "7.14.3",
"fetch-mock": "^6.0.0",
"flow-bin": "^0.101.0",
"graphql": "^14.5.2",
"husky": "^3.0.5",
"jest": "^24.8.0",
"jest-environment-jsdom": "^24.8.0",
"jest-environment-jsdom-global": "^1.2.0",
"lerna": "^3.16.4",
"mocha": "6.1.4",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"typescript": "^3.6.3"
}
}