-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.09 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.09 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
{
"name": "universe-system",
"version": "1.0.0",
"private": true,
"workspaces": ["apps/frontend", "apps/backend"],
"scripts": {
"prepare": "husky || echo \"Husky skipped\"",
"frontend:dev": "npm run dev --prefix apps/frontend",
"frontend:lint": "npm run lint --prefix apps/frontend",
"frontend:build": "npm run build --prefix apps/frontend",
"backend:dev": "npm run dev --prefix apps/backend",
"backend:test": "npm run test --prefix apps/backend",
"lint": "npm run frontend:lint",
"precommit": "npm run lint && npx lint-staged",
"prepush": "npm run lint && npm run build",
"test": "npm run backend:test",
"build": "npm run frontend:build"
},
"lint-staged": {
"apps/frontend/**/*.{js,jsx,ts,tsx}": [
"npm run lint --prefix apps/frontend -- --fix"
],
"apps/backend/**/*.{js,mjs,cjs,ts}": [
"npm run lint --prefix apps/backend -- --fix"
]
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.3.0",
"prettier": "^3.3.3"
}
}