-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 2.02 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@jspaste/backend",
"private": true,
"license": "EUPL-1.2",
"type": "module",
"scripts": {
"build": "bun run build:server",
"build:server": "bun build ./src/server.ts --outfile=./dist/server.js --target=bun --minify --sourcemap=inline",
"build:standalone": "bun build ./src/server.ts --outfile=./dist/backend --compile --minify --sourcemap=inline",
"build:standalone:darwin-arm64": "bun run build:standalone -- --target=bun-darwin-arm64",
"build:standalone:linux-amd64": "bun run build:standalone -- --target=bun-linux-x64-modern",
"build:standalone:linux-arm64": "bun run build:standalone -- --target=bun-linux-arm64",
"build:standalone:windows-amd64": "bun run build:standalone -- --target=bun-windows-x64-modern",
"clean:git:all": "bun run clean:git:untracked && bun run clean:git:gc && bun run clean:git:hooks",
"clean:git:all:force": "bun run clean:git:untracked:force && bun run clean:git:gc && bun run clean:git:hooks",
"clean:git:gc": "git gc --aggressive --prune",
"clean:git:hooks": "rm -rf ./.git/hooks/ && bun install -f",
"clean:git:untracked": "git clean -d -x -i",
"clean:git:untracked:force": "git clean -d -x -f",
"dev": "bun run start:dev",
"fix": "bun run fix:biome; bun run fix:package",
"fix:biome": "bun biome check --write",
"fix:package": "bun sort-package-json --quiet",
"lint": "bun run lint:biome && bun run lint:tsc",
"lint:biome": "bun biome lint",
"lint:tsc": "bun tsc --noEmit",
"start": "bun run start:server",
"start:dev": "bun run ./src/server.ts",
"start:rebuild": "bun run build:server && bun run start:server",
"start:server": "bun run ./dist/server.js"
},
"dependencies": {
"@hono/zod-openapi": "~0.18.0",
"env-var": "~7.5.0",
"hono": "~4.6.10"
},
"devDependencies": {
"@biomejs/biome": "~1.9.4",
"@types/bun": "^1.1.13",
"lefthook": "~1.8.4",
"sort-package-json": "~2.11.0"
},
"peerDependencies": {
"typescript": "5.5.4"
},
"trustedDependencies": [
"@biomejs/biome",
"lefthook"
]
}