-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
113 lines (113 loc) · 3.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@imqueue/pg-pubsub",
"version": "1.10.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 <[email protected]>",
"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": "^22.9.0",
"@types/pg": "^8.11.10",
"@types/pg-format": "^1.0.5",
"farmhash": "^4.0.1",
"pg": "^8.13.1",
"pg-format": "^1.0.4",
"uuid": "^11.0.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.9",
"@types/mock-require": "^3.0.0",
"@types/sinon": "^17.0.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@typescript-eslint/typescript-estree": "^8.13.0",
"chai": "^4.3.10",
"coveralls-next": "^4.2.1",
"eslint": "^9.14.0",
"glob": "^10.3.10",
"globals": "^15.12.0",
"minimist": "^1.2.8",
"mocha": "^10.8.2",
"mocha-lcov-reporter": "^1.3.0",
"mock-require": "^3.0.3",
"npm-scripts-help": "^0.8.0",
"nyc": "^17.1.0",
"open": "^10.1.0",
"sinon": "^19.0.2",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typedoc-plugin-as-member-of": "^1.0.2",
"typedoc-plugin-markdown": "^4.2.10",
"typescript": "^5.6.3"
},
"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"
]
}
}