forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 4.43 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"private": true,
"license": "MIT",
"workspaces": [
"packages/*",
"examples/*"
],
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{md,html,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"scripts": {
"build": "yarn run build-clean && yarn build-ts && yarn build-babel",
"build-babel": "yarn workspace codemirror-graphql run build",
"build-ts": "yarn run tsc --clean && yarn run tsc",
"build-ts-cjs": "yarn run tsc resources/tsconfig.build.cjs.json --clean && yarn run tsc resources/tsconfig.build.cjs.json",
"build-ts-esm": "yarn run tsc resources/tsconfig.build.esm.json --clean && yarn run tsc resources/tsconfig.build.esm.json",
"build-clean": "yarn run tsc --clean && rimraf '{packages,examples}/**/{dist,esm}' && lerna run build-clean",
"build-validate": "lerna run build-validate",
"build-demo": "lerna run build-demo",
"build-docs": "rimraf 'packages/graphiql/lsp' && typedoc 'packages'",
"build-bundles": "yarn prebuild-bundles && yarn workspace graphiql run build-bundles",
"prebuild-bundles": "yarn build-ts-esm && yarn build-bundles-clean",
"build-bundles-clean": "rimraf '{packages,examples}/**/{bundle,cdn,webpack}' && lerna run build-bundles-clean",
"tsc": "tsc --build",
"test": "jest",
"test-mocha": "yarn workspace codemirror-graphql run test",
"test-all": "yarn test && yarn test-mocha",
"ci": "yarn lint && yarn run check && yarn build && yarn test",
"ci-e2e": "yarn build-ts-esm && yarn workspace codemirror-graphql run build && yarn workspace graphiql run build-bundles-min && yarn e2e",
"ci-validate": "yarn build-ts-esm && yarn build-validate",
"testonly": "jest && yarn workspace codemirror-graphql run test",
"e2e": "yarn workspace graphiql e2e",
"cypress-open": "yarn workspace graphiql cypress-open",
"t": "yarn run testonly",
"eslint": "eslint --ext=ts,js,jsx,tsx .",
"lint": "yarn eslint && yarn lint-check && yarn pretty-check",
"lint-fix": "yarn eslint --fix",
"lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"check": "flow check --show-all-errors",
"pretty": "node resources/pretty.js",
"pretty-check": "node resources/pretty.js --check",
"format": "yarn eslint --fix && yarn pretty",
"lerna-publish": "lerna publish",
"prepublish": "./resources/prepublish.sh"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/node": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "7.8.4",
"@babel/preset-flow": "7.8.3",
"@babel/preset-react": "7.8.3",
"@babel/preset-typescript": "7.8.3",
"@babel/register": "^7.4.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/config-lerna-scopes": "^8.1.0",
"@strictsoftware/typedoc-plugin-monorepo": "^0.2.1",
"@testing-library/jest-dom": "^5.1.1",
"@types/codemirror": "^0.0.85",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^25.1.1",
"@types/node": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.18.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^25.1.0",
"chai": "4.2.0",
"codecov": "^3.6.4",
"conventional-changelog-conventionalcommits": "^4.1.0",
"copy": "^0.3.2",
"cross-env": "^7.0.0",
"cypress": "^4.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-cypress": "^2.10.1",
"eslint-plugin-flowtype": "4.6.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-react": "7.18.3",
"fetch-mock": "6.5.2",
"flow-bin": "^0.119.1",
"graphql": "^14.6.0",
"husky": "^4.0.7",
"jest": "^25.1.0",
"jest-environment-jsdom": "^25.1.0",
"jest-environment-jsdom-global": "^1.2.0",
"lerna": "^3.16.4",
"lint-staged": "^10.0.7",
"mkdirp": "^1.0.3",
"mocha": "7.0.1",
"prettier": "^1.18.2",
"rimraf": "^3.0.2",
"ts-jest": "^25.2.0",
"typedoc": "^0.15.1",
"typescript": "^3.6.3"
}
}