-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
50 lines (50 loc) · 1.86 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
{
"name": "api.littleeleven.com",
"type": "module",
"version": "1.0.0",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"postinstall": "prisma generate",
"start:local": "wrangler dev --port 12345",
"start:remote": "wrangler dev --remote",
"deploy": "wrangler deploy",
"deploy:prod": "wrangler deploy -e production",
"openapi": "run-s openapi:*",
"openapi:generate": "curl http://localhost:12345/api/doc > ./openapi.json",
"openapi:format": "node format-json.js",
"prisma:generate:sql": "prisma migrate diff --from-empty --to-schema-datamodel ./prisma/schema.prisma --script --output migrations/prisma-generated.sql",
"prisma:migrations:sql": "prisma migrate diff --from-local-d1 --to-schema-datamodel ./prisma/schema.prisma --script --output migrations/prisma-migrations.sql",
"login": "wrangler login",
"d1:migrations:local": "wrangler d1 migrations apply littleeleven-dev --local",
"d1:export:remote": "wrangler d1 export littleeleven --remote --output=./remote.sql",
"tsc-check": "tsc --noEmit",
"lint": "eslint . --fix",
"unit:test": "vitest --run --exclude tests/e2e",
"e2e:test": "vitest --run tests/e2e"
},
"dependencies": {
"@hono/oauth-providers": "^0.6.2",
"@hono/zod-openapi": "^0.17.0",
"@prisma/adapter-d1": "^5.22.0",
"@prisma/client": "^5.22.0",
"dayjs": "^1.11.13",
"hono": "^4.6.9",
"zod": "^3.23.8",
"zod-validation-error": "^3.4.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@cloudflare/vitest-pool-workers": "^0.5.27",
"@cloudflare/workers-types": "^4.20241106.0",
"cross-env": "^7.0.3",
"eslint": "^9.14.0",
"npm-run-all": "^4.1.5",
"prisma": "^5.22.0",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.4",
"wrangler": "^3.86.1",
"zod-prisma-types": "^3.1.8"
}
}