-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.04 KB
/
Copy pathpackage.json
File metadata and controls
33 lines (33 loc) · 1.04 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
{
"name": "stratal-example-12-database",
"private": true,
"type": "module",
"scripts": {
"dev": "wrangler dev",
"generate": "zenstack generate --schema db/schema.zmodel -o db/zenstack",
"db:up": "docker compose up -d --wait",
"db:down": "docker compose down",
"db:push": "DATABASE_URL='postgres://stratal:stratal@localhost:6432/stratal_database_example' zenstack db push --schema db/schema.zmodel",
"setup": "npm run db:up && npm run generate && npm run db:push",
"deploy": "wrangler deploy",
"wrangler:types": "wrangler types --strict-vars=false",
"typecheck": "wrangler types --strict-vars=false && tsc --noEmit"
},
"dependencies": {
"@stratal/framework": "^0.1.1",
"@zenstackhq/orm": "^3.9.4",
"@zenstackhq/schema": "^3.9.4",
"pg": "^8.23.0",
"stratal": "^0.1.1",
"zod": "^4.6.5"
},
"devDependencies": {
"@types/pg": "^8.15.6",
"@zenstackhq/cli": "^3.9.4",
"typescript": "^7.0.2",
"wrangler": "^4.135.0"
},
"overrides": {
"@paralleldrive/cuid2": "^3.3.0"
}
}