-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.38 KB
/
package.json
File metadata and controls
29 lines (29 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
{
"name": "keycast",
"private": true,
"version": "0.1.0",
"description": "Keycast is a secure key management system for teams on Nostr.",
"scripts": {
"dev": "concurrently -n 'rust,web,signer' -c 'blue,green,yellow' \"bun run dev:api\" \"bun run dev:web\" \"bun run dev:signer\"",
"dev:api": "cd api && RUST_LOG=debug PORT=${PORT:-3100} cargo watch -x \"run\"",
"dev:web": "cd web && VITE_DOMAIN=${VITE_DOMAIN:-http://localhost:3100} bun run dev",
"dev:signer": "cargo build --bin signer_daemon && RUST_LOG=warn,keycast_signer=debug MASTER_KEY_PATH=./master.key cargo watch -x \"run --bin keycast_signer\"",
"build": "concurrently -n 'rust,web,signer' -c 'blue,green,yellow' \"bun run build:api\" \"bun run build:web\" \"bun run build:signer\"",
"build:api": "cd api && cargo build --release",
"build:web": "cd web && bun run build",
"build:signer": "cd signer && cargo build --release",
"test": "bun run test:rust && bun run test:web",
"test:rust": "cargo test --workspace",
"test:web": "cd web && bun test",
"db:reset": "sqlx database reset --database-url sqlite:./database/keycast.db --source ./database/migrations",
"key:generate": "./scripts/generate_key.sh",
"key:generate:force": "./scripts/generate_key.sh --force"
},
"devDependencies": {
"@socketsecurity/bun-security-scanner": "1.1.2",
"concurrently": "9.2.1"
},
"dependencies": {
"@types/bun": "1.3.12"
}
}