-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 1.01 KB
/
Copy pathpackage.json
File metadata and controls
24 lines (24 loc) · 1.01 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
{
"name": "localize",
"private": true,
"version": "1.0.0",
"description": "Localize API and frontend on one Cloudflare Worker",
"scripts": {
"build:frontend": "npm --prefix frontend run build",
"typecheck": "npm run types && tsc -p worker/tsconfig.json --noEmit",
"test:worker": "vitest run",
"check": "npm run typecheck && npm run test:worker && npm run build:frontend",
"types": "wrangler types worker-configuration.d.ts",
"migrate:local": "wrangler d1 migrations apply localize-state --local",
"migrate:remote": "wrangler d1 migrations apply localize-state --remote",
"dev": "npm run build:frontend && wrangler dev",
"deploy:dry-run": "npm run build:frontend && npm run typecheck && wrangler deploy --dry-run",
"deploy": "npm run build:frontend && npm run typecheck && npm run test:worker && npm run migrate:remote && wrangler deploy"
},
"devDependencies": {
"@types/node": "^26.5.0",
"typescript": "^5.9.2",
"vitest": "^3.2.4",
"wrangler": "^4.35.0"
}
}