UNPKG

pgnode

Version:

PostgresSQL client to Nodejs servers

105 lines (104 loc) 2.43 kB
{ "name": "pgnode", "version": "1.1.5", "description": "PostgresSQL client to Nodejs servers", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "format": "prettier --write \"src/**/*.(js|ts)\"", "lint": "eslint src --ext .js,.ts", "lint:fix": "eslint src --fix --ext .js,.ts", "test": "jest --config jest.config.js", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.ts": "eslint --fix" }, "jest": { "testRegex": "(/tests/.*|(\\.|/)test)\\.tsx?$", "transform": { "^.+\\.ts$": "ts-jest" }, "maxConcurrency": 50, "testTimeout": 60000 }, "repository": { "type": "git", "url": "git+https://github.com/hebertcisco/pgnode.git" }, "keywords": [ "pg", "postgres", "connection", "transaction", "savepoint", "database", "db", "tx" ], "author": "Hebert Cisco", "license": "MIT", "bugs": { "url": "https://github.com/hebertcisco/pgnode/issues" }, "rules": { "node/no-unpublished-import": [ "error", { "convertPath": { "src/**/*.jsx": [ "^src/(.+?)\\.ts$", "lib/$1.js" ] }, "tryExtensions": [ ".js", ".jsx", ".ts", ".tsx", ".json" ] } ] }, "homepage": "https://github.com/hebertcisco/pgnode#readme", "devDependencies": { "@types/jest": "28.1.6", "@types/node": "18.6.1", "@types/pg": "8.6.5", "@typescript-eslint/eslint-plugin": "5.30.7", "@typescript-eslint/parser": "5.30.7", "env-cmd": "10.1.0", "eslint": "8.20.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jest": "26.6.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-promise": "6.0.0", "husky": "8.0.1", "jest": "28.1.3", "lint-staged": "13.0.3", "pg-protocol": "1.5.0", "prettier": "2.7.1", "ts-jest": "28.0.7", "ts-mockito": "2.6.1", "typescript": "4.7.4" }, "files": [ "lib/**/*" ], "dependencies": { "pg": "^8.7.3" } }