23 lines
687 B
JSON
23 lines
687 B
JSON
{
|
|||
|
|
"name": "timelog",
|
||
|
|
"private": true,
|
||
|
|
"type": "module",
|
||
|
|
"scripts": {
|
||
|
|
"build": "bun run scripts/build.ts",
|
||
|
|
"dev:api": "DEV_AUTH=1 PUBLIC_ORIGIN=http://localhost:3000 DB_PATH=./dev.sqlite bun --watch src/api/server.ts",
|
||
|
|
"dev:web": "WEB_PORT=3000 API_ORIGIN=http://localhost:3001 bun --watch src/web-server.ts",
|
||
|
|
"start:api": "bun src/api/server.ts",
|
||
|
|
"start:web": "bun src/web-server.ts",
|
||
|
|
"test": "bun test",
|
||
|
|
"typecheck": "bunx tsc --noEmit",
|
||
|
|
"vapid": "bun run scripts/vapid.ts"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"web-push": "^3.6.7"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/bun": "^1.3.0",
|
||
|
|
"@types/web-push": "^3.6.4",
|
||
|
|
"typescript": "^5.9.0"
|
||
|
|
}
|
||
|
|
}
|