-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.38 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.38 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
{
"name": "redprop",
"version": "1.0.0",
"private": true,
"scripts": {
"prepare": "husky install",
"install:front": "cd frontend && npm install",
"install:backend": "cd backend && npm install",
"install:all": "npm install && npm run install:front && npm run install:backend",
"build:frontend": "cd frontend && npm run build",
"build:backend": "cd backend && npm run build",
"dev:backend": "npm --prefix backend run dev",
"start:backend": "npm --prefix backend run start",
"db:migrate": "npm --prefix backend run db:migrate",
"db:setup": "npm --prefix backend run db:setup",
"db:reset": "npm --prefix backend run db:reset",
"db:drop": "npm --prefix backend run db:drop",
"db:check": "npm --prefix backend run db:check",
"test:frontend": "npm --prefix frontend run test:run",
"test:backend": "npm --prefix backend test",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
},
"lint-staged": {
"frontend/**/*.{js,jsx,ts,tsx,json,css}": [
"biome check --write --files-ignore-unknown=true --no-errors-on-unmatched"
],
"backend/**/*.{js,ts,json}": [
"biome check --write --files-ignore-unknown=true --no-errors-on-unmatched"
]
},
"devDependencies": {
"@biomejs/biome": "^2.3.5",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6"
}
}