-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 2.05 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
{
"name": "sf-deploy-app",
"version": "1.0.0",
"private": true,
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "docker compose up",
"dev:build": "docker compose up --build",
"down": "docker compose down",
"install:all": "npm install && cd frontend && npm install && cd ../backend && npm install",
"lint": "npm run lint:frontend && npm run lint:backend",
"lint:frontend": "cd frontend && npm run lint",
"lint:backend": "cd backend && npm run lint",
"lint:fix": "npm run lint:fix:frontend && npm run lint:fix:backend",
"lint:fix:frontend": "cd frontend && npm run lint:fix",
"lint:fix:backend": "cd backend && npm run lint:fix",
"format": "npm run format:frontend && npm run format:backend",
"format:frontend": "cd frontend && npm run format",
"format:backend": "cd backend && npm run format",
"format:check": "npm run format:check:frontend && npm run format:check:backend",
"format:check:frontend": "cd frontend && npm run format:check",
"format:check:backend": "cd backend && npm run format:check",
"type-check": "npm run type-check:frontend && npm run type-check:backend",
"type-check:frontend": "cd frontend && npm run type-check",
"type-check:backend": "cd backend && npm run type-check",
"build": "npm run build:frontend && npm run build:backend",
"build:frontend": "cd frontend && npm run build",
"build:backend": "cd backend && npm run build",
"ci": "npm run type-check && npm run lint && npm run format:check",
"prepare": "npm run install:all"
},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^15.5.2"
},
"lint-staged": {
"frontend/src/**/*.{ts,tsx}": [
"cd frontend && npm run lint:fix",
"cd frontend && npm run format"
],
"backend/src/**/*.{ts}": [
"cd backend && npm run lint:fix",
"cd backend && npm run format"
]
}
}