-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.97 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "trusty",
"version": "0.0.2",
"private": true,
"type": "module",
"config": {
"image": "ghcr.io/riipandi/trusty"
},
"scripts": {
"build": "wireit",
"dev": "tsx watch src/server.ts",
"start": "node dist/server.mjs",
"docs:dev": "(cd docs && mintlify dev)",
"docs:check": "(cd docs && mintlify broken-links)",
"db:migrate": "tsx src/migrate.ts",
"db:rollback": "tsx src/migrate.ts rollback",
"db:seed": "tsx src/migrate.ts seed",
"db:generate": "tsx src/migrate.ts generate-sql",
"docker:build": "docker build -f Dockerfile . -t $npm_package_config_image:latest -t $npm_package_config_image:$npm_package_version",
"docker:run": "docker run --rm -it -p 3080:3080 --env-file .env --name $npm_package_name $npm_package_config_image:latest",
"docker:push": "docker push $npm_package_config_image:latest && docker push $npm_package_config_image:$npm_package_version",
"generate-key": "openssl rand -base64 500 | tr -dc 'a-zA-Z0-9' | fold -w 40 | head -n 1",
"cleanup": "docker compose down --remove-orphans && rimraf build public/build",
"purge": "docker compose down --remove-orphans --volumes && rimraf build public/build",
"update-deps": "npm-check-updates --configFileName .ncurc.json",
"pre-dev": "docker compose up -d",
"pre-commit": "sh .husky/pre-commit",
"prepare": "husky || true",
"check": "biome check --apply .",
"format": "biome format . --write",
"lint": "biome lint --apply ."
},
"wireit": {
"build": {
"command": "rimraf dist && node build.config.mjs",
"files": [
"src/**/*.{css,ts}",
"tsconfig.json"
],
"output": [
"dist/**",
"static/**"
],
"clean": "if-file-deleted",
"env": {
"NODE_ENV": {
"external": true,
"default": "development"
}
}
}
},
"dependencies": {
"@hono/node-server": "^1.8.0",
"@hono/valibot-validator": "^0.2.2",
"@libsql/client": "^0.5.0",
"@libsql/kysely-libsql": "^0.3.0",
"arctic": "^1.1.6",
"consola": "^3.2.3",
"dotenv": "^16.4.4",
"hono": "^4.0.3",
"kysely": "^0.27.2",
"kysely-plugin-serialize": "^0.5.7",
"oslo": "^1.1.1",
"typeid-js": "^0.5.0",
"valibot": "^0.28.1"
},
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@faker-js/faker": "^8.4.1",
"@types/node": "^20.11.19",
"esbuild": "^0.20.0",
"husky": "^9.0.11",
"mintlify": "^4.0.125",
"npm-check-updates": "^16.14.15",
"rimraf": "^5.0.5",
"tsx": "^4.7.1",
"typed-htmx": "^0.2.1",
"wireit": "^0.14.4"
},
"engines": {
"node": ">=20.11.0"
}
}