postgres-pool
Version:
Node postgres connection pool implementation for node-pg
113 lines (112 loc) • 3.21 kB
JSON
{
"name": "postgres-pool",
"version": "10.1.0",
"description": "Node postgres connection pool implementation for node-pg",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"certs",
"dist",
"src"
],
"scripts": {
"build": "unbuild && cp -R certs dist",
"test": "npm run test:types && mocha --loader=ts-node/esm tests/tests.ts",
"test:types": "tsc --noEmit --skipLibCheck",
"lint:markdown": "prettier --cache --write '*.md' '!(node_modules|dist)/**/*.md' && markdownlint '*.md' '!(node_modules|dist)/**/*.md' --config=.github/linters/.markdown-lint.yml --fix",
"lint:code": "eslint --fix",
"lint": "run-p lint:*",
"lint-staged": "lint-staged",
"docker:up": "docker-compose -f .devcontainer/docker-compose.yml up -d",
"docker:down": "docker-compose -f .devcontainer/docker-compose.yml down",
"beta": "npm publish --tag beta",
"prepublishOnly": "npm run lint && npm run test && npm run build && pinst --disable",
"postpublish": "pinst --enable",
"prepare": "husky"
},
"lint-staged": {
"*.md": [
"prettier --write --cache",
"markdownlint --config=.github/linters/.markdown-lint.yml --fix"
],
"*.{js,cjs,mjs,ts}": [
"eslint --fix"
],
"*.{json5,yml}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/postgres-pool/postgres-pool.git"
},
"keywords": [
"node",
"postgres",
"pg",
"pool",
"connection",
"pooling"
],
"author": "Jim Geurts <jim@biacreations.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/postgres-pool/postgres-pool/issues"
},
"homepage": "https://github.com/postgres-pool/postgres-pool#readme",
"engines": {
"node": ">=20.11.0"
},
"dependencies": {
"@types/pg": "8.11.11",
"pg": "8.14.1",
"strict-event-emitter-types": "2.0.0",
"uuid": "11.1.0"
},
"devDependencies": {
"@faker-js/faker": "9.6.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.1",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.1",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.3",
"@swc/core": "1.11.16",
"@types/chai": "5.2.1",
"@types/chai-as-promised": "8.0.2",
"@types/mocha": "10.0.10",
"@types/node": "22.14.0",
"@types/sinon": "17.0.4",
"chai": "5.2.0",
"chai-as-promised": "8.0.1",
"eslint": "9.24.0",
"eslint-config-decent": "2.6.4",
"husky": "9.1.7",
"lint-staged": "15.5.0",
"markdownlint-cli": "0.44.0",
"mocha": "11.1.0",
"npm-run-all2": "7.0.2",
"pinst": "3.0.0",
"prettier": "3.5.3",
"rimraf": "6.0.1",
"sinon": "20.0.0",
"ts-node": "10.9.2",
"semantic-release": "24.2.3",
"typescript": "5.8.3",
"unbuild": "3.5.0"
}
}