@melleb/pgtx
Version:
Simple node-postgres wrapper that abstracts transactions and savepoints
63 lines (62 loc) • 1.5 kB
JSON
{
"name": "@melleb/pgtx",
"version": "0.4.4",
"description": "Simple node-postgres wrapper that abstracts transactions and savepoints",
"repository": {
"type": "git",
"url": "git+https://github.com/MelleB/pgtx.git"
},
"homepage": "https://github.com/MelleB/pgtx#readme",
"bugs": {
"url": "https://github.com/MelleB/pgtx/issues"
},
"type": "module",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "npm run test:coverage && npm run build",
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint .",
"prettier": "prettier --write .",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepare": "husky"
},
"keywords": [
"node-postgres",
"transaction",
"savepoint",
"postgres",
"pg",
"nested",
"rollback"
],
"author": "MelleB",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "2.28.1",
"@eslint/js": "9.22.0",
"@types/pg": "8.11.11",
"@vitest/coverage-v8": "3.0.8",
"dotenv": "16.4.7",
"eslint": "9.22.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-prettier": "5.2.3",
"husky": "9.1.7",
"lint-staged": "15.5.0",
"prettier": "3.5.3",
"tsup": "8.4.0",
"typescript": "5.8.2",
"typescript-eslint": "8.26.1",
"vitest": "3.0.8"
},
"peerDependencies": {
"pg": "8.14.0"
}
}