-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.23 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
{
"name": "kc-web-mono",
"version": "1.0.0",
"license": "MIT",
"private": true,
"workspaces": [
"environments/*"
],
"scripts": {
"start:backend": "yarn workspace backend start",
"start:frontend": "yarn workspace frontend start",
"start": "run-p start:backend start:frontend",
"build:backend": "yarn workspace backend build",
"build:frontend": "yarn workspace frontend build",
"build": "run-s build:frontend build:backend",
"serve": "yarn workspace backend serve",
"prod": "run-s build serve",
"clean:backend": "yarn workspace backend clean",
"generate-types:backend": "yarn workspace backend generate-types",
"generate-types:frontend": "yarn workspace frontend generate-types",
"generate-all": "run-s generate-types:backend generate-types:frontend",
"lint:backend": "yarn workspace backend lint",
"lint:frontend": "yarn workspace frontend lint",
"lint:all": "run-s lint:backend lint:frontend",
"fix:husky": "yarn remove -W husky && yarn add -WD husky"
},
"devDependencies": {
"cross-env": "^7.0.2",
"husky": "^4.2.3",
"npm-run-all": "^4.1.5"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:all",
"pre-push": "yarn lint:all"
}
}
}