-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.92 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.92 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
{
"name": "comptaleyes",
"private": true,
"author": "CisCode",
"workspaces": [
"backend",
"infra",
"frontend"
],
"scripts": {
"prepare": "husky",
"lint-staged": "lint-staged",
"module:list": "node scripts/link-module.js list",
"module:status": "node scripts/link-module.js status",
"module:link": "node scripts/link-module.js link",
"module:unlink": "node scripts/link-module.js unlink",
"dev": "concurrently \"npm -w backend run dev\" \"npm -w frontend run dev\"",
"dev:backend": "npm -w backend run dev",
"dev:frontend": "npm -w frontend run dev",
"build": "npm run build -w backend && npm run build -w frontend",
"build:backend": "npm -w backend run build",
"build:frontend": "npm -w frontend run build",
"backend:lint": "npm -w backend run lint",
"backend:typecheck": "npm -w backend run typecheck",
"backend:test": "npm -w backend run test",
"backend:lint:fix": "npm -w backend run lint:fix",
"backend:format": "npm -w backend run format",
"frontend:lint": "npm -w frontend run lint",
"frontend:typecheck": "npm -w frontend run typecheck",
"frontend:test": "npm -w frontend run test",
"frontend:lint:fix": "npm -w frontend run lint:fix",
"frontend:format": "npm -w frontend run format",
"lint": "npm run backend:lint && npm run frontend:lint",
"typecheck": "npm run backend:typecheck && npm run frontend:typecheck",
"test": "npm run backend:test && npm run frontend:test",
"lint:fix": "npm run backend:lint:fix && npm run frontend:lint:fix",
"format": "npm run backend:format && npm run frontend:format"
},
"devDependencies": {
"concurrently": "^9.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7"
},
"lint-staged": {
"backend/**/*.{ts,tsx}": [
"npm run -s backend:lint:fix"
],
"backend/**/*.{js,json,md,yml,yaml}": [
"npm --workspace backend exec -- prettier --write"
]
}
}