UNPKG

pg-listen

Version:

PostgreSQL LISTEN & NOTIFY that finally works.

71 lines (70 loc) 1.53 kB
{ "name": "pg-listen", "version": "1.7.0", "license": "MIT", "description": "PostgreSQL LISTEN & NOTIFY that finally works.", "author": "Andy Wermke (https://github.com/andywer)", "repository": "github:andywer/pg-listen", "main": "./index.js", "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", "test": "ava test/*.test.ts", "test:database": "docker run -e POSTGRES_DB=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 --rm postgres:10.4-alpine", "posttest": "tslint --project .", "prepare": "npm run build" }, "keywords": [ "postgres", "listen", "notify", "subscribe", "events" ], "peerDependencies": { "pg": "7.x || 8.x" }, "dependencies": { "debug": "^4.1.1", "pg-format": "^1.0.4", "typed-emitter": "^0.1.0" }, "devDependencies": { "@types/debug": "^4.1.2", "@types/node": "^10.14.1", "@types/pg": "^7.4.13", "@types/pg-format": "^1.0.0", "ava": "^1.4.1", "lint-staged": "^8.1.7", "pg": "^8.0.3", "prettier": "^1.16.4", "ts-node": "^8.0.3", "tslint": "^5.14.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.3.3333" }, "files": [ "dist/**", "index.js" ], "ava": { "compileEnhancements": false, "extensions": [ "ts" ], "require": [ "ts-node/register" ], "serial": true }, "prettier": { "semi": false, "printWidth": 100 }, "lint-staged": { "*": [ "prettier --write", "git add" ] } }