-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
41 lines (41 loc) · 1.58 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
{
"name": "token-search",
"author": "[email protected]",
"homepage": "https://tokens.evm.workers.dev",
"repository": "github:o-az/token-search",
"bugs": "github:o-az/token-search/issues",
"scripts": {
"prestart": "[ -f ./database/v3/d1/local/db.sqlite ] || (echo 'you need to run `bun setup` first' && exit 2)",
"dev": "wrangler dev --local",
"dev:remote": "wrangler dev --remote --persist-to=./.wrangler",
"prebuild": "rm -rf dist",
"build": "wrangler deploy --outdir=dist --dry-run",
"deploy": "wrangler deploy ./src/index.ts --latest --outdir=dist",
"setup": "/bin/bash ./scripts/setup.sh",
"database:convert": "sqlite3 .wrangler/state/v3/d1/local/db.sqlite .dump > database/db.sql",
"database:execute": "wrangler d1 execute tokens --file=database/db.sql",
"migrations:create": "wrangler d1 migrations create tokens \"$(date '+%Y%m%d%H%M%S')\"",
"migrations:apply": "wrangler d1 migrations apply tokens",
"format": "biome format . --write",
"lint": "biome check --apply .",
"typecheck": "tsc --project tsconfig.json --noEmit",
"clean": "/bin/sh ./scripts/clean.sh || true"
},
"dependencies": {
"hono": "^3.12.0",
"kysely": "^0.27.2",
"kysely-d1": "^0.3.0",
"pretty-cache-header": "^1.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.4.1",
"@cloudflare/workers-types": "^4.20231218.0",
"@total-typescript/ts-reset": "^0.5.1",
"@types/node": "^20.10.6",
"@types/bun": "^1.0.0",
"bun": "^1.0.21",
"typescript": "^5.3.3",
"wrangler": "^3.22.3"
},
"license": "GPL-3.0-or-later"
}