-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 6.36 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 6.36 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "graphiql-monorepo",
"version": "0.0.0",
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"packages/*",
"functions",
"packages/graphiql/test",
"examples/monaco-graphql-webpack",
"examples/monaco-graphql-nextjs",
"examples/monaco-graphql-react-vite",
"examples/graphiql-vite",
"examples/graphiql-vite-react-router",
"examples/graphiql-webpack"
]
},
"packageManager": "yarn@4.9.1",
"scripts": {
"types:check": "turbo run types:check && tsc --noEmit -p scripts/tsconfig.json",
"dev:graphiql": "turbo run dev --filter=graphiql...",
"dev:example-nextjs": "turbo run dev --filter=example-graphiql-nextjs...",
"dev:example-vite": "turbo run dev --filter=example-graphiql-vite...",
"build:graphiql": "turbo run build --filter=graphiql...",
"build": "yarn build-clean && yarn build:tsc && yarn build:nontsc",
"build-bundles": "yarn prebuild-bundles && yarn wsrun:noexamples --stages build-bundles",
"build-bundles-clean": "rimraf '{packages,examples}/**/{bundle,cdn,webpack}'",
"build-clean": "tsc --build --clean",
"build-docs": "rimraf packages/graphiql/typedoc && typedoc",
"build:nontsc": "yarn wsrun:noexamples --exclude-missing --serial build",
"build:clean": "tsc --build --clean",
"build:watch": "tsc --build --watch",
"build-demo": "wsrun -m build-demo",
"watch": "yarn build:watch",
"watch-vscode": "yarn build:tsc && yarn workspace vscode-graphql compile",
"watch-vscode-exec": "yarn workspace vscode-graphql-execution compile",
"check": "tsc --build --noEmit && tsc --noEmit -p scripts/tsconfig.json",
"check:tsgo": "tsgo --noEmit && tsgo --noEmit -p scripts/tsconfig.json",
"cypress-open": "concurrently 'yarn dev:graphiql' 'yarn workspace graphiql cypress-open'",
"e2e": "yarn workspace graphiql e2e",
"eslint": "NODE_OPTIONS=--max-old-space-size=4096 ESLINT_USE_FLAT_CONFIG=false eslint --max-warnings=0 --ignore-path .gitignore --cache .",
"fix": "yarn lint-fix && yarn format && yarn svgo",
"jest": "jest",
"license-check": "jsgl --local packages/*",
"lint": "yarn eslint && yarn format-check && yarn lint-cspell",
"lint-cspell": "cspell --unique --no-progress --no-must-find-files",
"lint-fix": "yarn eslint --fix",
"postinstall": "patch-package --patch-dir resources/patches",
"prebuild-bundles": "yarn build-bundles-clean",
"prepublishOnly": "./scripts/prepublish.sh",
"postbuild": "wsrun --exclude-missing postbuild",
"format": "oxfmt --write .",
"format-check": "oxfmt --check .",
"svgo": "svgo --pretty --indent 2 --eol lf --final-newline -r -f . --exclude node_modules",
"svgo-check": "yarn svgo && git diff --exit-code -- '*.svg'",
"ci:version": "yarn changeset version && yarn build && yarn fix",
"release": "yarn build && yarn build-bundles && (wsrun release --exclude-missing --serial --recursive --changedSince main -- || true) && yarn changeset publish",
"release:canary": "(node scripts/canary-release.mts && 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.mts",
"t": "yarn test",
"test": "yarn jest",
"test:ci": "yarn build && jest --coverage && yarn vitest",
"test:coverage": "yarn jest --coverage",
"test:watch": "yarn jest --watch",
"build:tsc": "tsc --build && node resources/patch-monaco-editor-type.mts",
"vitest": "turbo run test",
"wsrun:noexamples": "wsrun --exclude-missing --exclude example-monaco-graphql-react-vite --exclude example-monaco-graphql-nextjs --exclude example-monaco-graphql-webpack --exclude example-graphiql-webpack",
"gen-agenda": "wgutils agenda gen"
},
"dependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@babel/register": "^7.21.0",
"@changesets/apply-release-plan": "^7.0.4",
"@changesets/assemble-release-plan": "^6.0.3",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@changesets/config": "^3.0.2",
"@changesets/read": "^0.6.0",
"@manypkg/get-packages": "^1.1.3",
"@shopify/eslint-plugin": "^48.0.2",
"@types/codemirror": "^0.0.90",
"@types/copy": "^0.3.1",
"@types/express": "^4.17.11",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^29.5.2",
"@types/node": "^24",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.5.0",
"@types/ws": "8.2.2",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@typescript/native-preview": "^7.0.0-dev",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-transform-import-meta": "^2.2.1",
"concurrently": "^7.0.0",
"copy": "^0.3.2",
"cspell": "^5.15.2",
"eslint": "9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-import-resolver-typescript": "^4.3.4",
"eslint-plugin-cypress": "^4.3.0",
"eslint-plugin-import-x": "^4.11.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-mdx": "^3.4.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.0.0-rc.1",
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-unicorn": "^56.0.0",
"execa": "^7.1.1",
"fetch-mock": "6.5.2",
"jest": "^27.5.1",
"js-green-licenses": "4.0.0",
"mkdirp": "^1.0.4",
"oxfmt": "^0.45.0",
"patch-package": "^7.0.2",
"postinstall-postinstall": "^2.1.0",
"rimraf": "^3.0.2",
"semver": "^7.7.1",
"ts-jest": "^27.1.5",
"turbo": "^2.5.2",
"typedoc": "^0.28.19",
"typescript": "^5.8.0",
"vitest": "^2.1.9",
"wgutils": "^1.2.5",
"wsrun": "^5.2.4"
},
"resolutions": {
"@babel/traverse": "^7.23.2",
"vscode-languageserver-types": "3.17.3",
"markdown-it": "14.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"vite": "6.3.4"
},
"devDependencies": {
"svgo": "^4.0.1"
}
}