-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
213 lines (213 loc) · 8.26 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"name": "root",
"workspaces": {
"packages": [
"packages/*",
"nextjs",
"nextjs/packages/next",
"nextjs/packages/next-mdx",
"nextjs/packages/installer",
"nextjs/packages/eslint-config-next",
"nextjs/packages/eslint-plugin-next",
"nextjs/packages/next-env",
"examples/*",
"recipes/*"
],
"nohoist": [
"**/@prisma",
"**/@prisma/**"
]
},
"preconstruct": {
"packages": [
"packages/*",
"nextjs/packages/installer",
"!packages/cli",
"!packages/eslint-config"
]
},
"scripts": {
"postinstall": "husky install && patch-package",
"wait:nextjs": "wait-on -d 1000 nextjs/packages/next/dist/build/index.js",
"wait:nextjs-types": "wait-on -d 1000 nextjs/packages/next/dist/build/index.d.ts",
"dev:nextjs": "yarn workspace next dev",
"dev:next-env": "yarn workspace @blitzjs/env dev",
"dev:nextjs-types": "yarn wait:nextjs && yarn workspace next types && echo 'Finished building nextjs types'",
"dev:blitz": "cross-env BLITZ_PROD_BUILD=true preconstruct watch",
"dev:tsc": "yarn dev:nextjs-types && tsc --watch --pretty --preserveWatchOutput",
"dev:cli": "yarn wait:nextjs-types && yarn workspace @blitzjs/cli dev",
"dev:templates": "yarn workspace @blitzjs/generator dev",
"dev": "concurrently --names \"nextjs,blitz,typecheck,cli,templates,next-env\" -c \"magenta,cyan,green,yellow,black,blue\" -p \"{name}\" \"npm:dev:nextjs\" \"npm:dev:blitz\" \"npm:dev:tsc\" \"npm:dev:cli\" \"npm:dev:templates\" \"npm:dev:next-env\"",
"build:nextjs": "yarn workspace next prepublish",
"build:next-env": "yarn workspace @blitzjs/env prepublish",
"build": "yarn build:nextjs && yarn build:next-env && cross-env BLITZ_PROD_BUILD=true preconstruct build && ultra -r --filter \"packages/*\" buildpkg && tsc",
"lint": "eslint --ext \".js,.ts,.tsx\" .",
"link-cli": "yarn workspace blitz link",
"unlink-cli": "yarn workspace blitz unlink",
"test": "yarn run lint && yarn run build && ultra -r test",
"testheadless": "cross-env HEADLESS=true yarn test:integration",
"test:integration": "jest --runInBand",
"test:packages": "yarn run build && yarn testonly:packages",
"test:examples": "yarn run build && yarn testonly:examples",
"test:nextjs-size": "yarn --cwd nextjs testheadless --testPathPattern \"integration/(build-output|size-limit|fallback-modules)\"",
"testonly": "yarn test:packages && yarn test:examples",
"testonly:packages": "ultra -r --filter \"packages/*\" --concurrency 15 test",
"testonly:examples": "ultra -r --filter \"examples/*\" --concurrency 1 test",
"reset": "rimraf node_modules && git clean -xfd packages && git clean -xfd test && git clean -xfd nextjs && yarn",
"publish-prep": "yarn && yarn build",
"prepack": "node scripts/prepack.js",
"postpublish": "rimraf packages/blitz/README.md && git checkout packages/blitz/package.json && git checkout nextjs/packages/next/package.json",
"publish-local": "yarn workspaces run yalc publish",
"publish-canary": "yarn run publish-prep && lerna publish --no-private --force-publish --preid canary --pre-dist-tag canary && manypkg fix && git add . && git commit -m 'bump recipe/example versions (ignore)' --no-verify && git push",
"publish-latest": "yarn run publish-prep && lerna publish --no-private --force-publish && manypkg fix && git add . && git commit -m 'bump recipe/example versions (ignore)' --no-verify && git push",
"publish-danger": "lerna publish --canary --pre-dist-tag danger --preid danger.$(git rev-parse --short HEAD) --allow-branch * --force-publish --no-private --ignore-prepublish",
"pull-nextjs": "git subrepo clean nextjs && git subrepo pull nextjs -v",
"push-nextjs": "git subrepo clean nextjs && git subrepo push nextjs -v",
"postpush-nextjs": "git push"
},
"engines": {
"node": ">=12"
},
"volta": {
"node": "14.18.1",
"yarn": "1.22.17"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"package.json": []
},
"resolutions": {
"@babel/core": "7.12.10",
"webpack": "4.44.1",
"browserslist": "4.16.6",
"caniuse-lite": "1.0.30001274",
"jest": "27.0.0-next.8",
"ts-jest": "27.0.0-next.10"
},
"dependencies": {
"@babel/core": "7.12.10",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/preset-env": "7.12.11",
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "7.12.7",
"@juanm04/cpx": "2.0.1",
"@manypkg/cli": "0.17.0",
"@preconstruct/cli": "2.0.7",
"@rollup/pluginutils": "4.1.0",
"@size-limit/preset-small-lib": "4.9.2",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/react-hooks": "^4.0.1",
"@testing-library/user-event": "13.1.9",
"@types/b64-lite": "1.3.0",
"@types/cookie": "0.3.3",
"@types/cookie-session": "2.0.42",
"@types/cross-spawn": "6.0.2",
"@types/debug": "4.1.5",
"@types/detect-port": "1.3.0",
"@types/diff": "5.0.0",
"@types/flush-write-stream": "1.0.0",
"@types/from2": "2.3.0",
"@types/fs-extra": "8.1.0",
"@types/get-port": "4.2.0",
"@types/gulp-if": "0.0.33",
"@types/htmlescape": "^1.1.1",
"@types/ink-spinner": "3.0.0",
"@types/jest": "26.0.20",
"@types/jsonwebtoken": "8.5.0",
"@types/lowdb": "1.0.9",
"@types/mem-fs": "1.1.2",
"@types/mem-fs-editor": "7.0.0",
"@types/merge-stream": "1.1.2",
"@types/mock-fs": "4.13.0",
"@types/node": "14.14.22",
"@types/node-fetch": "2.5.8",
"@types/parallel-transform": "1.1.0",
"@types/passport": "1.0.5",
"@types/pluralize": "0.0.29",
"@types/prettier": "2.1.6",
"@types/progress": "^2.0.3",
"@types/pump": "1.1.0",
"@types/pumpify": "1.4.1",
"@types/react": "17.0.2",
"@types/react-dom": "16.9.4",
"@types/readable-stream": "2.3.9",
"@types/rimraf": "3.0.0",
"@types/tar": "4.0.4",
"@types/test-listen": "1.1.0",
"@types/through2": "2.0.36",
"@types/vinyl": "2.0.4",
"@types/vinyl-fs": "2.4.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"@wessberg/cjs-to-esm-transformer": "0.0.22",
"@wessberg/rollup-plugin-ts": "1.3.8",
"babel-jest": "27.0.0-next.5",
"babel-plugin-annotate-pure-calls": "0.4.0",
"babel-plugin-dev-expression": "0.2.2",
"babel-plugin-macros": "3.0.1",
"babel-plugin-tester": "10.0.0",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"concurrently": "6.0.0",
"cross-env": "7.0.3",
"cypress": "6.2.1",
"debug": "4.3.1",
"delay": "4.4.1",
"directory-tree": "2.2.5",
"eslint": "7.21.0",
"eslint-config-react-app": "~6.0.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-es": "4.1.0",
"eslint-plugin-es5": "1.5.0",
"eslint-plugin-flowtype": "~5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-unicorn": "26.0.1",
"eslint_d": "10.1.3",
"get-port": "5.1.1",
"husky": "5.1.2",
"jest": "27.0.0-next.8",
"lerna": "4.0.0",
"lint-staged": "10.5.4",
"lowdb": "1.0.0",
"mock-fs": "4.13.0",
"nock": "13.0.6",
"npm-run-all": "4.1.5",
"patch-package": "6.2.2",
"postinstall-postinstall": "2.1.0",
"prettier": "2.2.1",
"prettier-plugin-prisma": "0.4.0",
"prompt": "1.1.0",
"react": "0.0.0-experimental-6a589ad71",
"react-dom": "0.0.0-experimental-6a589ad71",
"react-test-renderer": "17.0.1",
"release": "6.3.0",
"rimraf": "^3.0.2",
"rollup": "2.36.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"semver": "7.3.4",
"size-limit": "4.9.2",
"stdout-stderr": "0.1.13",
"strip-ansi": "6.0.0",
"test-listen": "1.1.0",
"tree-kill": "1.2.2",
"ts-jest": "27.0.0-next.10",
"tslib": "2.1.0",
"typescript": "4.5.2",
"ultra-runner": "3.10.5",
"wait-on": "5.2.1",
"yalc": "1.0.0-pre.49"
},
"private": true,
"version": "0.0.0"
}