-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.49 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
{
"lint-staged": {
"frontend/**/*.{ts,tsx}": ["npm run lint:fix --prefix frontend", "npm run format --prefix frontend"],
"backend/**/*.ts": ["npm run lint:fix --prefix backend", "npm run format --prefix backend"]
},
"scripts": {
"prepare": "husky install",
"install-all": "npm i && concurrently \"cd ./frontend && npm i\" \"cd ./backend && npm i\"",
"frontend": "npm run dev --prefix frontend",
"backend": "npm run dev --prefix backend",
"stripe": "npm run stripe --prefix backend",
"dev": "concurrently \"npm run backend\" \"npm run stripe\" \"npm run frontend\"",
"build-frontend": "npm run build --prefix frontend",
"build-backend": "npm run build --prefix backend",
"build-all": "npm run build-frontend && npm run build-backend",
"clean-frontend-build": "rimraf ./frontend/build",
"clean-backend-build": "rimraf ./backend/build",
"clean-all-build": "npm run clean-frontend-build && npm run clean-backend-build",
"preview-frontend": "npm run build-frontend && npm run preview --prefix frontend",
"preview-backend": "npm run build-backend && concurrently \"npm run stripe --prefix backend\" \"npm run start --prefix backend\"",
"preview-all": "npm run clean-all-build && npm run preview-backend & npm run preview-frontend"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"concurrently": "^9.1.2",
"husky": "^8.0.0",
"lint-staged": "^15.4.2",
"rimraf": "^6.0.1"
}
}