UNPKG

pg-transactional-tests

Version:
52 lines (51 loc) 1.23 kB
{ "name": "pg-transactional-tests", "version": "1.2.0", "description": "Wraps each test in transaction for `pg` package", "repository": "https://github.com/romeerez/pg-transactional-tests", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "jest --setupFiles dotenv/config --watch", "check": "jest --setupFiles dotenv/config", "build": "tsc", "db": "tsx tests/dbScript.ts", "prepublish": "tsc" }, "jest": { "verbose": false, "transform": { "^.+\\.tsx?$": [ "@swc/jest" ] } }, "keywords": [ "pg", "postgres", "transactional tests", "test" ], "author": "Roman Kushyn", "license": "ISC", "devDependencies": { "@swc/jest": "^0.2.29", "@types/jest": "^28.1.3", "@types/pg": "^8.10.9", "@typescript-eslint/eslint-plugin": "^5.30.0", "@typescript-eslint/parser": "^5.30.0", "dotenv": "^16.0.1", "eslint": "^8.18.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.1.0", "jest": "^28.1.1", "pg": "^8.11.3", "prettier": "^2.7.1", "rake-db": "2.22.41", "tsx": "^4.19.1", "typescript": "^4.7.4" }, "peerDependencies": { "pg": "*" } }