-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.46 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
{
"name": "short-url",
"scripts": {
"dev": "wrangler dev",
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"db:makemigration": "DATABASE_URL=$env.DATABASE_URL_PROD DATABASE_TOKEN=$env.DATABASE_TOKEN_PROD drizzle-kit generate --config=./db/short-url.drizzle.config.ts",
"db:migrate": "DATABASE_URL=$env.DATABASE_URL_PROD DATABASE_TOKEN=$env.DATABASE_TOKEN_PROD drizzle-kit migrate --config=./db/short-url.drizzle.config.ts",
"db:push": "drizzle-kit push --config=./db/short-url.drizzle.config.ts",
"db:prod:push": "DATABASE_URL=$env.DATABASE_URL_PROD DATABASE_TOKEN=$env.DATABASE_TOKEN_PROD drizzle-kit push --config=./db/short-url.drizzle.config.ts",
"db:start": "turso dev --db-file .out/local-short-url.sqlite3",
"db:dump": "turso db shell short-url .dump > .out/dump.sql",
"db:populate": "turso db shell http://127.0.0.1:8080 < .out/dump.sql",
"format": "prettier --check --ignore-path .gitignore .",
"format:fix": "prettier --write --ignore-path .gitignore .",
"deploy": "wrangler deploy --minify"
},
"dependencies": {
"@hono/zod-validator": "^0.4.1",
"@libsql/client": "^0.14.0",
"crypto-js": "^4.2.0",
"drizzle-orm": "^0.36.4",
"hono": "^4.6.12"
},
"devDependencies": {
"@antfu/eslint-config": "^3.11.0",
"@cloudflare/workers-types": "^4.20241127.0",
"@types/crypto-js": "^4.2.2",
"drizzle-kit": "^0.28.1",
"wrangler": "^3.88.0"
}
}