-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.11 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
{
"name": "nodejs-service-template",
"version": "0.0.2",
"type": "module",
"module": "src/index.ts",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"dev": "bun env:decrypt && NODE_ENV=development bun run --watch src/index.ts",
"build": "bun build --compile --minify --sourcemap ./src/index.ts --outfile ./dist/app",
"start": "./dist/app",
"lint": "biome lint ./src/*",
"format": "biome format --write ./src/*",
"fix": "biome check --write ./src/*",
"test": "bun env:decrypt && bun test --coverage",
"test:watch": "bun test --watch",
"env:encrypt": "bun --silent senv encrypt .env.development > .env.dev.encrypted & bun --silent senv encrypt .env.test > .env.test.encrypted",
"env:decrypt": "bun --silent senv decrypt .env.dev.encrypted > .env.development & bun --silent senv decrypt .env.test.encrypted > .env.test"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/bun": "^1.1.6",
"senv": "^1.0.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.3"
},
"dependencies": {
"dotenv": "^16.4.5",
"hono": "^4.5.0",
"winston": "^3.13.1"
},
"trustedDependencies": ["@biomejs/biome"]
}