mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
move postgres to a separate package
This commit is contained in:
37
packages/postgres/package.json
Normal file
37
packages/postgres/package.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "@bknd/postgres",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"test": "bun test",
|
||||
"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.12.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.6.3"
|
||||
},
|
||||
"tsup": {
|
||||
"entry": ["src/index.ts"],
|
||||
"format": ["esm"],
|
||||
"target": "es2022",
|
||||
"clean": true,
|
||||
"minify": true,
|
||||
"dts": true,
|
||||
"metafile": true,
|
||||
"external": ["bknd", "pg", "kysely"]
|
||||
},
|
||||
"files": ["dist", "!*.map", "!metafile*.json"]
|
||||
}
|
||||
Reference in New Issue
Block a user