-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
100 lines (100 loc) · 3.6 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
{
"name": "@imqueue/rpc",
"version": "1.17.0",
"description": "RPC-like client-service implementation over messaging queue",
"keywords": [
"redis",
"redis-queue",
"client",
"rpc-client",
"service",
"rpc-service",
"rpc",
"message-queue"
],
"scripts": {
"prepublishOnly": "./node_modules/.bin/tsc",
"test": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha && ./node_modules/.bin/nyc report --reporter=text-lcov && npm run test-coverage",
"test-fast": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/coverage/index.html', { wait: false }))\"",
"test-local": "export COVERALLS_REPO_TOKEN=$IMQ_RPC_COVERALLS_TOKEN && npm test && /usr/bin/env node -e \"import('open').then(open => open.default('https://coveralls.io/github/imqueue/imq-rpc', { wait: false }));\"",
"test-coverage": "cat ./coverage/lcov.info | CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=c2cc3954-6824-4cdf-8349-12bd9c31955a ./node_modules/.bin/codeclimate-test-reporter",
"clean-typedefs": "find . -name '*.d.ts' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete",
"clean-maps": "find . -name '*.js.map' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete",
"clean-js": "find . -name '*.js' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete",
"clean-tests": "rm -rf .nyc_output coverage",
"clean-doc": "rm -rf docs",
"clean-benchmark": "rm -rf benchmark-result",
"clean": "npm run clean-tests && npm run clean-typedefs && npm run clean-maps && npm run clean-js && npm run clean-doc && npm run clean-benchmark",
"doc": "rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --mode file --out ./docs . && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html', { wait: false }));\""
},
"repository": {
"type": "git",
"url": "[email protected]/imqueue/rpc.git"
},
"bugs": {
"url": "https://github.com/imqueue/rpc/issues"
},
"homepage": "https://imqueue.com/",
"author": "imqueue.com <[email protected]> (https://imqueue.com)",
"license": "ISC",
"dependencies": {
"@imqueue/core": "^1.15.0",
"@types/node": "^22.9.0",
"acorn": "^8.14.0",
"farmhash": "^4.0.1",
"node-machine-id": "^1.1.12",
"reflect-metadata": "^0.2.2",
"typescript": "^5.6.3"
},
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.9",
"@types/mock-require": "^3.0.0",
"@types/sinon": "^17.0.3",
"chai": "^4.3.10",
"codeclimate-test-reporter": "^0.5.1",
"coveralls-next": "^4.2.1",
"minimist": "^1.2.8",
"mocha": "^10.8.2",
"mocha-lcov-reporter": "^1.3.0",
"mock-require": "^3.0.3",
"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"
},
"main": "index.js",
"typescript": {
"definitions": "index.d.ts"
},
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"recursive": true,
"bail": true,
"full-trace": true
},
"nyc": {
"check-coverage": false,
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"**/test/**"
],
"require": [
"ts-node/register"
],
"reporter": [
"html",
"text",
"text-summary",
"lcovonly"
]
}
}