UNPKG

pg-tx

Version:

Transaction wrapper for node-postgres

72 lines (71 loc) 1.65 kB
{ "name": "pg-tx", "version": "1.0.1", "description": "Transaction wrapper for node-postgres", "main": ".build/index.js", "types": ".build/index.d.ts", "keywords": [ "pg", "postgres", "connection", "transaction", "savepoint", "database", "db", "tx" ], "scripts": { "build": "tsc", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "test": "env-cmd jest" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.ts": "eslint --fix" }, "jest": { "testRegex": "(/tests/.*|(\\.|/)test)\\.tsx?$", "transform": { "^.+\\.ts$": "ts-jest" }, "maxConcurrency": 50, "testTimeout": 60000 }, "author": "Max Yankov <golergka@gmail.com>", "repository": { "type": "git", "url": "https://github.com/golergka/pg-tx" }, "license": "MIT", "devDependencies": { "@types/jest": "^26.0.22", "@types/node": "^14.14.41", "@types/pg": "^7.14.11", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "env-cmd": "^10.1.0", "eslint": "^7.24.0", "eslint-config-prettier": "^8.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^24.3.5", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-promise": "^5.1.0", "husky": "^6.0.0", "jest": "^26.6.3", "lint-staged": "^10.5.4", "pg-protocol": "^1.5.0", "prettier": "^2.2.1", "ts-jest": "^26.5.5", "ts-mockito": "^2.6.1", "typescript": "^4.2.4" }, "dependencies": { "pg": "^8.6.0" } }