-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 816 Bytes
/
Copy pathpackage.json
File metadata and controls
21 lines (21 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "archivehost",
"main": "index.js",
"scripts": {
"kill": "pkill archivehost",
"migrate": "cd archivehost && cargo run -p db --",
"db-update": "npm run sea-migrate && npm run sea-entity",
"db-reset": "npm run sea-migrate fresh && npm run sea-entity",
"dev": "concurrently -c 'blue,green' npm:dev:*",
"dev:front": "cd frontend && pnpm dev",
"dev:back": "RUST_BACKTRACE=1 cd archivehost && cargo watch -x 'run -- serve'",
"crun": "cd archivehost && cargo run --",
"build": "npm run build:front && npm run build:back",
"build:front": "cd frontend && pnpm build",
"build:back": "cd archivehost && cargo build --release",
"inst": "npm run build:front && cd archivehost && cargo install --path ."
},
"devDependencies": {
"concurrently": "^8.2.2"
}
}