80 lines
3.1 KiB
JSON
80 lines
3.1 KiB
JSON
{
|
|
"name": "bun-hono-boilerplate",
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"prisma": {
|
|
"schema": "./src/prisma/schema.prisma"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.json",
|
|
"postinstall": "bun run build",
|
|
"start": "bun run build && bun run ./dist/src/index.js",
|
|
"dev": "bun --watch ./src/index.ts",
|
|
"debug": "bun --inspect-wait ./src/index.ts",
|
|
"db:generate": "bun --env-file=.env prisma generate --schema=./src/prisma/schema.prisma",
|
|
"db:deploy": "bun --env-file=.env prisma migrate deploy --schema=./src/prisma/schema.prisma",
|
|
"db:migrate": "bun --env-file=.env prisma migrate dev --schema=./src/prisma/schema.prisma",
|
|
"db:status": "bun --env-file=.env prisma migrate status --schema=./src/prisma/schema.prisma",
|
|
"db:validate": "bun --env-file=.env prisma validate --schema=./src/prisma/schema.prisma",
|
|
"db:format": "bun --env-file=.env prisma format --schema=./src/prisma/schema.prisma",
|
|
"db:studio": "bun --env-file=.env prisma studio --schema=./src/prisma/schema.prisma",
|
|
"db:debug": "bun --env-file=.env prisma debug --schema=./src/prisma/schema.prisma",
|
|
"lint": "biome lint --write ./src ./scripts ./tests",
|
|
"format": "biome format --write ./src ./scripts ./tests",
|
|
"check": "biome check ./src ./scripts ./tests",
|
|
"ci": "biome ci ./src ./scripts ./tests",
|
|
"openapi": "bun ./scripts/generate-openapi.ts",
|
|
"openapi:client:hey-api": "openapi-ts",
|
|
"test": "bun test ./tests",
|
|
"test:api": "bun test ./tests/api --coverage",
|
|
"test:services": "bun test ./tests/services --coverage",
|
|
"test:vfs": "vitest run ./tests/vfs",
|
|
"test:vfs:ls": "vitest run ./tests/vfs/fs/ls.test.ts",
|
|
"test:vfs:write": "vitest run ./tests/vfs/fs/write.test.ts",
|
|
"test:vfs:get": "vitest run ./tests/vfs/fs/get.test.ts",
|
|
"rclone-cli": "bun ./src/vfs/rclone/cli/index.ts",
|
|
"rclone-lib-example": "bun ./src/lib/rclone/example.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@hey-api/client-fetch": "^0.10.2",
|
|
"@types/bun": "latest",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/glob": "^8.1.0",
|
|
"@types/node": "^22.15.21",
|
|
"@types/pino": "^7.0.5",
|
|
"@types/swagger-jsdoc": "^6.0.4",
|
|
"pino-pretty": "^13.1.1",
|
|
"swagger-jsdoc": "^6.2.8",
|
|
"vitest": "^2.0.4"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@electric-sql/pglite": "^0.3.2",
|
|
"@hey-api/openapi-ts": "^0.68.0",
|
|
"@hono/swagger-ui": "^0.5.1",
|
|
"@polymech/cache": "file:../../polymech-mono/packages/cache",
|
|
"@polymech/commons": "file:../../polymech-mono/packages/commons",
|
|
"@polymech/core": "file:../../polymech-mono/packages/core",
|
|
"@polymech/fs": "file:../../polymech-mono/packages/fs",
|
|
"@polymech/media": "file:../../polymech-mono/packages/media",
|
|
"axios": "^1.11.0",
|
|
"better-auth": "^1.2.8",
|
|
"fs-extra": "^11.2.0",
|
|
"glob": "^11.0.0",
|
|
"hono": "^4.7.10",
|
|
"init": "^0.1.2",
|
|
"mime": "^4.0.7",
|
|
"minimatch": "^9.0.5",
|
|
"pglite-prisma-adapter": "^0.5.0",
|
|
"pino": "^9.7.0",
|
|
"prisma": "^6.8.2",
|
|
"tslog": "^4.9.3",
|
|
"yargs": "^18.0.0",
|
|
"zod": "^3.25.28"
|
|
}
|
|
}
|