-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) · 2.06 KB
/
package.json
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": "zenstack-ui-monorepo",
"private": true,
"workspaces": [
"example-client",
"example-server",
"package"
],
"scripts": {
"validate-env": "bun example-server/src/env.ts",
"dev": "bun --filter '*' dev",
"deploy": "bun --filter '*' deploy",
"dev:client": "bun validate-env && cd example-client && bun dev",
"dev:server": "bun validate-env && cd example-server && bun dev",
"deploy:client": "bun --filter 'example-client' deploy",
"deploy:server": "bun --filter 'example-server' deploy",
"sync-env": "doppler -p zenstack-ui-demo -c dev secrets download --no-file --format env | tee .env example-client/.dev.vars example-server/.dev.vars > /dev/null",
"push-env-to-workers": "cd example-server && doppler secrets --project zenstack-ui-demo --config dev --json | jq -c 'with_entries(.value = .value.computed)' | wrangler secret bulk --name zenstack-ui-demo-server",
"db:push": "bun db:gen && bunx prisma db push --schema=./example-server/prisma/schema.prisma",
"db:gen": "bunx zenstack generate --schema=./example-server/schema.zmodel --no-compile --output ./zenstack && bunx prisma generate --schema=./example-server/prisma/schema.prisma",
"db:studio": "bunx prisma studio --schema=./example-server/prisma/schema.prisma",
"reset-node": "rm -rf node_modules && rm -rf example-client/node_modules && rm -rf example-server/node_modules && bun i && bun db:gen",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"devDependencies": {
"@eslint/compat": "^1.2.2",
"@eslint/js": "^9.14.0",
"@stylistic/eslint-plugin": "^2.10.1",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.14.0",
"eslint-plugin-jsonc": "^2.17.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tailwindcss": "^3.17.5",
"globals": "^15.13.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.13.0",
"wrangler": "^3.91.0"
},
"trustedDependencies": [
"@prisma/client",
"@prisma/engines",
"@swc/core",
"esbuild",
"prisma",
"puppeteer",
"server",
"workerd",
"zenstack"
]
}