package.json
{
"name": "@imqueue/pg-pubsub",
"version": "1.8.0",
"description": "Reliable PostgreSQL LISTEN/NOTIFY with inter-process lock support",
"keywords": [
"listen",
"notify",
"postgres",
"postgresql",
"pg-listen",
"pg-notify",
"pubsub",
"publish",
"subscribe",
"events",
"publish-subscribe",
"inter-process-lock"
],
"scripts": {
"prepublishOnly": "npm run build",
"postpublish": "./bin/wiki.sh",
"clean:dts": "find . -name '*.d.ts' -not -wholename '*node_modules*' -type f -delete",
"clean:map": "find . -name '*.js.map' -not -wholename '*node_modules*' -type f -delete",
"clean:js": "find . -name '*.js' -not -wholename '*node_modules*' -not -wholename '*bin*' -type f -delete",
"clean:build": "rm -rf ./node_modules/@types ; find . -name '*.js.map' -type f -delete ; find . -name '*.ts' -type f -delete",
"clean:test": "rm -rf .nyc_output coverage",
"clean:doc": "rm -rf docs",
"clean:wiki": "rm -rf wiki",
"clean": "npm run clean:test ; npm run clean:dts ; npm run clean:map ; npm run clean:js ; npm run clean:doc ; npm run clean:wiki",
"build": "tsc",
"mocha": "nyc mocha",
"show:test": "/usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/coverage/index.html',{wait:false}));\"",
"show:doc": "/usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html',{wait:false}));\"",
"test": "npm run build && npm run mocha && npm run show:test && ((test ! -z \"${CI}\" && nyc report --reporter=text-lcov | coveralls) || exit 0)",
"doc": "npm run clean && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|.nyc_output|examples)/**/*\" --out ./docs --plugin typedoc-plugin-as-member-of . && npm run show:doc",
"wiki": "npm run clean && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|.nyc_output|examples)/**/*\" --out ./wiki --plugin typedoc-plugin-as-member-of,typedoc-plugin-markdown --hideSources --theme markdown . && ./bin/rename.js",
"help": "npm-scripts-help"
},
"author": "imqueue.com <support@imqueue.com>",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/imqueue/pg-pubsub.git"
},
"bugs": {
"url": "https://github.com/imqueue/pg-pubsub/issues"
},
"homepage": "https://github.com/imqueue/pg-pubsub",
"dependencies": {
"@types/node": "^20.9.0",
"@types/pg": "^8.10.9",
"@types/pg-format": "^1.0.5",
"murmurhash-native": "^3.5.0",
"pg": "^8.11.3",
"pg-format": "^1.0.4",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/mocha": "^10.0.4",
"@types/mock-require": "^2.0.3",
"@types/sinon": "^17.0.1",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@typescript-eslint/typescript-estree": "^6.10.0",
"chai": "^4.3.10",
"coveralls": "^3.1.1",
"eslint": "^8.53.0",
"glob": "^10.3.10",
"minimist": "^1.2.8",
"mocha": "^10.2.0",
"mocha-lcov-reporter": "^1.3.0",
"mock-require": "^3.0.3",
"npm-scripts-help": "^0.8.0",
"nyc": "^15.1.0",
"open": "^9.1.0",
"sinon": "^17.0.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.25.3",
"typedoc-plugin-as-member-of": "^1.0.2",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.2.2"
},
"main": "index.js",
"typescript": {
"definitions": "index.d.ts"
},
"nyc": {
"check-coverage": true,
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"**/test/**",
"**/examples/**"
],
"require": [
"ts-node/register"
],
"reporter": [
"html",
"text",
"text-summary",
"lcovonly"
]
}
}