-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (40 loc) · 1.16 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
{
"name": "quizzy",
"private": true,
"workspaces": [
"@app/*",
"packages/*"
],
"scripts": {
"client:dev": "npm run --prefix @app/client dev",
"server:dev": "npm run --prefix @app/server dev",
"common:dev": "npm run --prefix @app/common dev",
"dev": "run-p client:dev server:dev common:dev",
"client:build": "npm run --prefix @app/client build",
"server:build": "npm run --prefix @app/server build",
"common:build": "npm run --prefix @app/common build",
"build": "run-p client:build server:build common:build",
"client:lint": "npm run --prefix @app/client lint",
"server:lint": "npm run --prefix @app/server lint",
"lint": "run-p client:lint server:lint",
"client:lint:fix": "npm run --prefix @app/client lint:fix",
"server:lint:fix": "npm run --prefix @app/server lint:fix",
"lint:fix": "run-p client:lint:fix server:lint:fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"git add"
]
},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5"
}
}