forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.81 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "graphiql-monorepo",
"version": "independent",
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"packages/*",
"examples/monaco-graphql-webpack",
"examples/graphiql-webpack",
"examples/monaco-graphql-react-vite"
]
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{md,html,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"engines": {
"npm": "please_use_yarn_instead"
},
"scripts": {
"build": "yarn tsc --clean && yarn tsc",
"build-bundles": "yarn prebuild-bundles && yarn workspace graphiql run build-bundles",
"build-bundles-clean": "rimraf '{packages,examples,plugins}/**/{bundle,cdn,webpack}' && yarn workspace graphiql run build-bundles-clean",
"build-clean": "ws-run build-clean",
"build-demo": "yarn workspaces run build-demo",
"build-docs": "rimraf 'packages/graphiql/typedoc' && typedoc 'packages'",
"build:clean": "yarn tsc --clean",
"build:watch": "yarn tsc --watch",
"check": "yarn tsc --dry",
"cypress-open": "yarn workspace graphiql cypress-open",
"dev-graphiql": "yarn workspace graphiql dev",
"e2e": "yarn run e2e:build && yarn workspace graphiql e2e",
"e2e:build": "yarn build && yarn workspace graphiql run build-bundles-min",
"eslint": "eslint --ext=ts,js,jsx,tsx .",
"format": "yarn eslint --fix && yarn pretty",
"jest": "jest",
"license-check": "jsgl --local ./",
"lint": "yarn eslint && yarn lint-check && yarn pretty-check",
"lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint-fix": "yarn eslint --fix",
"postbuild": "yarn workspace codemirror-graphql run postbuild",
"prebuild-bundles": "yarn build-bundles-clean",
"prepublishOnly": "./scripts/prepublish.sh",
"pretty": "node scripts/pretty.js",
"pretty-check": "node scripts/pretty.js --check",
"release": "yarn build && yarn build-bundles && yarn changeset publish",
"release:canary": "(node scripts/canary-release.js && yarn build && yarn build-bundles && yarn changeset publish --tag canary) || echo Skipping Canary...",
"repo:lint": "manypkg check",
"repo:fix": "manypkg fix",
"repo:resolve": "node scripts/set-resolution.js",
"start-graphiql": "yarn workspace graphiql dev",
"start-monaco": "yarn workspace example-monaco-graphql-webpack start",
"t": "yarn run testonly",
"test": "yarn jest",
"test:coverage": "yarn jest --coverage",
"test:watch": "yarn jest --watch",
"testonly": "jest && yarn workspace codemirror-graphql run test",
"tsc": "tsc --build"
},
"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/polyfill": "^7.8.7",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@babel/register": "^7.9.0",
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.18.1",
"@cypress/webpack-preprocessor": "^5.5.0",
"@manypkg/cli": "^0.17.0",
"@octokit/rest": "^18.0.12",
"@strictsoftware/typedoc-plugin-monorepo": "^0.3.1",
"@testing-library/jest-dom": "^5.4.0",
"@types/aws-serverless-express": "^3.3.3",
"@types/codemirror": "^0.0.90",
"@types/express": "^4.17.11",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.22",
"@types/prettier": "^2.0.0",
"@types/theme-ui": "^0.3.1",
"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"aws-serverless-express": "^3.4.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.3.0",
"copy": "^0.3.2",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"cypress": "^4.7.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-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",
"execa": "^6.0.0",
"express": "^4.17.1",
"fetch-mock": "6.5.2",
"husky": "^4.2.3",
"jest": "^27",
"jest-environment-jsdom": "^27",
"jest-environment-jsdom-global": "^2.0.2",
"jest-environment-node": "^27",
"js-green-licenses": "3.0.0",
"jsdom": "^18.1.1",
"lint-staged": "^10.1.2",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"serverless-http": "^2.7.0",
"ts-jest": "^25.3.1",
"typedoc": "^0.19.2",
"typescript": "^4.1.3",
"whatwg-url": "^8.4.0",
"wsrun": "^5.2.4"
}
}