forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 4.46 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
117
118
119
120
121
{
"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 --force",
"build-ts-cjs": "yarn run tsc resources/tsconfig.build.cjs.json",
"build-ts-esm": "yarn run tsc resources/tsconfig.build.esm.json",
"build-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/typedoc' && 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 && yarn tsc --dry",
"pretty": "node resources/pretty.js",
"pretty-check": "node resources/pretty.js --check",
"format": "yarn eslint --fix && yarn pretty",
"lerna-publish": "yarn ci && yarn ci-e2e && lerna publish",
"watch": "yarn tsc --watch",
"start-graphiql": "yarn workspace graphiql dev"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "7.9.5",
"@babel/preset-flow": "7.9.0",
"@babel/preset-react": "7.9.4",
"@babel/preset-typescript": "7.9.0",
"@babel/register": "^7.9.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/config-lerna-scopes": "^8.3.4",
"@testing-library/jest-dom": "^5.4.0",
"@types/codemirror": "^0.0.90",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"@types/theme-ui": "^0.3.1",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.3.0",
"chai": "4.2.0",
"codecov": "^3.6.5",
"conventional-changelog-conventionalcommits": "^4.2.3",
"copy": "^0.3.2",
"cross-env": "^7.0.2",
"cypress": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"fetch-mock": "6.5.2",
"flow-bin": "^0.119.1",
"graphql": "^15.0.0",
"husky": "^4.2.3",
"jest": "^25.3.0",
"jest-environment-jsdom": "^25.3.0",
"jest-environment-jsdom-global": "^2.0.2",
"lerna": "^3.20.2",
"lint-staged": "^10.1.2",
"mkdirp": "^1.0.4",
"mocha": "7.1.1",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"ts-jest": "^25.3.1",
"typedoc": "0.17.4",
"typescript": "^3.8.3"
},
"dependencies": {
"@strictsoftware/typedoc-plugin-monorepo": "^0.3.1"
}
}