forked from blitz-js/blitz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 6.21 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
{
"name": "root",
"workspaces": {
"packages": [
"packages/*",
"examples/*",
"recipes/*"
],
"nohoist": [
"**/@prisma",
"**/@prisma/**"
]
},
"preconstruct": {
"packages": [
"packages/*",
"!packages/cli",
"!packages/eslint-config"
]
},
"scripts": {
"postinstall": "husky install",
"dev:tsc": "tsc --watch --pretty --preserveWatchOutput",
"dev:cli": "yarn workspace @blitzjs/cli dev",
"dev:templates": "yarn workspace @blitzjs/generator dev",
"dev": "preconstruct dev && concurrently --names \"typecheck,cli,templates\" -c \"blue,green,yellow,magenta\" -p \"{name}\" \"npm:dev:tsc\" \"npm:dev:cli\" \"npm:dev:templates\"",
"build": "patch-package && 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",
"test:packages": "yarn run build && yarn testonly:packages",
"test:examples": "yarn run build && yarn testonly:examples",
"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 && yarn",
"publish-prep": "yarn && yarn build",
"prepack": "cpx README.md packages/blitz/",
"postpack": "rimraf packages/blitz/README.md",
"publish-local": "yarn workspaces run yalc publish",
"publish-canary": "yarn run publish-prep && lerna publish --force-publish --preid canary --pre-dist-tag canary",
"publish-latest": "yarn run publish-prep && lerna publish --force-publish",
"publish-danger": "lerna publish --canary --pre-dist-tag danger --preid danger.$(git rev-parse --short HEAD) --allow-branch * --force-publish",
"pull-nextjs": "git subrepo pull nextjs",
"push-nextjs": "git subrepo push nextjs"
},
"engines": {
"node": ">=12"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"package.json": [
"manypkg fix"
]
},
"dependencies": {
"@babel/core": "7.13.1",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/preset-env": "7.13.5",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "7.13.0",
"@manypkg/cli": "0.17.0",
"@preconstruct/cli": "2.0.5",
"@preconstruct/next": "2.0.0",
"@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.3",
"@testing-library/react-hooks": "^4.0.1",
"@types/b64-lite": "1.3.0",
"@types/cookie": "0.4.0",
"@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/dotenv-flow": "3.1.0",
"@types/flush-write-stream": "1.0.0",
"@types/from2": "2.3.0",
"@types/fs-extra": "9.0.6",
"@types/fs-readdir-recursive": "1.0.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/lodash": "4.14.168",
"@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": "17.0.0",
"@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": "~4.14.0",
"@typescript-eslint/parser": "~4.14.0",
"@wessberg/cjs-to-esm-transformer": "0.0.22",
"@wessberg/rollup-plugin-ts": "1.3.8",
"babel-eslint": "~10.1.0",
"babel-jest": "26.6.3",
"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",
"cpx": "1.5.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-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.22.0",
"eslint-plugin-react-hooks": "~4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-unicorn": "26.0.1",
"eslint_d": "10.0.0",
"husky": "5.1.2",
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "1.0.3",
"lerna": "3.22.1",
"lint-staged": "10.5.4",
"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",
"pretty-quick": "3.1.0",
"prompt": "1.1.0",
"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",
"ts-jest": "26.5.0",
"tslib": "2.1.0",
"typescript": "4.1.5",
"ultra-runner": "3.10.5",
"wait-on": "5.2.1",
"yalc": "1.0.0-pre.49"
},
"private": true,
"version": "0.0.0"
}