-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.55 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.55 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
{
"name": "@comuline/api",
"author": {
"name": "Comuline",
"url": "https://github.com/comuline",
"email": "support@comuline.com"
},
"version": "2.0",
"scripts": {
"dev": "wrangler dev",
"build": "tsup --clean",
"docker:up": "docker-compose -p comuline-api up -d",
"docker:down": "docker-compose down",
"test": "echo \"Error: no test specified\" && exit 1",
"deploy": "wrangler deploy --minify src/index.ts --name comuline-api",
"migrate:drop": "drizzle-kit drop",
"migrate:generate": "drizzle-kit generate",
"migrate:apply": "bun run src/db/migrate.ts",
"format": "prettier -w .",
"format:check": "prettier -c .",
"prepare": "husky",
"sync:schedule": "bun run --env-file .dev.vars src/sync/schedule.ts",
"sync:station": "bun run --env-file .dev.vars src/sync/station.ts"
},
"dependencies": {
"@hono/zod-openapi": "^0.16.0",
"@neondatabase/serverless": "^0.9.5",
"@scalar/hono-api-reference": "^0.5.145",
"@upstash/redis": "^1.34.3",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.33.0",
"drizzle-zod": "^0.5.1",
"hono": "^4.5.11",
"postgres": "^3.4.4",
"zod": "^3.23.8"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240903.0",
"bun-types": "latest",
"drizzle-kit": "^0.24.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"wrangler": "^4.6.0"
},
"module": "src/index.js",
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier -w"
]
}
}