-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 3.21 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 3.21 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "subforge",
"version": "0.1.0",
"private": true,
"description": "SubForge monorepo workspace",
"packageManager": "npm@11.7.0",
"workspaces": [
"apps/*",
"packages/*"
],
"engines": {
"node": ">=20.0.0 <25.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"preinstall": "node scripts/check-runtime.mjs",
"dev:web": "npm run dev --workspace @subforge/web",
"dev:worker": "npm run dev --workspace @subforge/worker",
"build": "npm run build:web",
"test": "node --test tests/*.test.mjs",
"typecheck": "npm run typecheck --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present",
"seed:admin": "node scripts/generate-admin.mjs",
"seed:demo": "node scripts/generate-demo-seed.mjs",
"init:local": "node scripts/init-instance.mjs --local",
"init:remote": "node scripts/init-instance.mjs --remote --deploy",
"test:smoke": "node scripts/smoke-check.mjs",
"test:unit": "node scripts/run-unit-tests.mjs",
"ci:verify": "npm run test:contract && npm run test:smoke && npm test && npm run test:unit && npm run typecheck && npm run build && npm run build:worker",
"build:web": "npm run build --workspace @subforge/web",
"build:worker": "npm run build --workspace @subforge/worker",
"build:worker:staging": "npm run build:staging --workspace @subforge/worker",
"deploy:worker": "npm run deploy --workspace @subforge/worker",
"db:migrations:apply:local": "npm run db:migrations:apply:local --workspace @subforge/worker",
"deploy:worker:staging": "npm run deploy:staging --workspace @subforge/worker",
"db:migrations:apply": "npm run db:migrations:apply --workspace @subforge/worker",
"db:migrations:apply:staging": "npm run db:migrations:apply:staging --workspace @subforge/worker",
"deploy": "npm run db:migrations:apply && npm run deploy:worker",
"deploy:staging": "npm run db:migrations:apply:staging && npm run deploy:worker:staging",
"backup:d1": "node scripts/d1-backup.mjs --environment production",
"backup:d1:staging": "node scripts/d1-backup.mjs --environment staging",
"backup:d1:schema": "node scripts/d1-backup.mjs --environment production --scope schema",
"backup:d1:data": "node scripts/d1-backup.mjs --environment production --scope data",
"d1:restore:drill": "node scripts/d1-restore-drill.mjs",
"backup:d1:encrypted": "node scripts/d1-backup.mjs --environment production --encrypt",
"backup:d1:staging:encrypted": "node scripts/d1-backup.mjs --environment staging --encrypt",
"backup:d1:decrypt": "node scripts/d1-backup-decrypt.mjs",
"doctor:runtime": "node scripts/check-runtime.mjs",
"test:contract": "node scripts/openapi-contract-check.mjs"
},
"cloudflare": {
"bindings": {
"ADMIN_JWT_SECRET": {
"description": "Generate a long random secret, for example with `openssl rand -hex 32`."
},
"DB": {
"description": "D1 database binding for SubForge metadata, users, templates, rules, and logs."
},
"SUB_CACHE": {
"description": "KV namespace used for public subscription and preview cache entries."
}
}
},
"devDependencies": {
"esbuild": "^0.27.4",
"node-addon-api": "^8.5.0",
"node-gyp": "^11.5.0"
}
}