mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "@bknd/postgres",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"updater": "bun x npm-check-updates -ui",
|
|
"prepublishOnly": "bun run typecheck && bun run test && bun run build",
|
|
"docker:start": "docker run --rm --name bknd-test-postgres -d -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=bknd -p 5430:5432 postgres:17",
|
|
"docker:stop": "docker stop bknd-test-postgres"
|
|
},
|
|
"dependencies": {
|
|
"pg": "^8.14.0",
|
|
"kysely": "^0.27.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.2.5",
|
|
"@types/node": "^22.13.10",
|
|
"@types/pg": "^8.11.11",
|
|
"bknd": "workspace:*",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"tsup": {
|
|
"entry": ["src/index.ts"],
|
|
"format": ["esm"],
|
|
"target": "es2022",
|
|
"clean": true,
|
|
"minify": true,
|
|
"dts": true,
|
|
"external": ["bknd", "pg", "kysely"]
|
|
},
|
|
"files": ["dist", "README.md", "!*.map", "!metafile*.json"]
|
|
}
|