-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.85 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.85 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
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "brainsait-unified",
"version": "1.0.0",
"description": "BrainSAIT Unified Healthcare Platform",
"private": true,
"scripts": {
"dev": "cd frontend && npm run dev",
"dev:local": "./scripts/dev-local.sh",
"build": "npm run build:frontend && npm run build:worker",
"build:frontend": "cd frontend && npm run build",
"build:worker": "webpack --config webpack.worker.js",
"deploy": "npm run build && wrangler deploy",
"deploy:staging": "npm run build && wrangler deploy --env staging",
"deploy:production": "./scripts/deploy-production.sh",
"setup": "./scripts/setup-environment.sh",
"setup:production": "./scripts/setup-environment.sh production",
"setup:staging": "./scripts/setup-environment.sh staging",
"upload:assets": "./scripts/upload-assets.sh",
"dev:worker": "wrangler dev",
"tail": "wrangler tail",
"tail:production": "wrangler tail --env production",
"tail:staging": "wrangler tail --env staging",
"test": "cd frontend && npm test",
"test:api": "npm run build:worker && node test/api-test.js",
"lint": "cd frontend && npm run lint",
"lint:worker": "eslint src/**/*.ts",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist frontend/dist *.js *.js.map",
"install:all": "npm install && cd frontend && npm install",
"secrets:list": "wrangler secret list",
"kv:list": "wrangler kv namespace list",
"health": "curl -s $(wrangler dev --local=false | grep 'Ready on' | awk '{print $3}')/api/health"
},
"workspaces": [
"frontend"
],
"devDependencies": {
"@cloudflare/workers-types": "^4.20241106.0",
"@types/node": "^20.11.5",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"wrangler": "^4.18.0"
},
"dependencies": {
"hono": "^3.11.7"
},
"engines": {
"node": ">=18.0.0"
}
}