-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 3.17 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 3.17 KB
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
{
"name": "@imqueue/core",
"version": "3.2.1",
"description": "Simple JSON-based messaging queue for inter service communication",
"keywords": [
"message-queue",
"redis",
"redis-queue",
"inter-service-communication",
"json",
"json-message"
],
"scripts": {
"benchmark": "node benchmark -c $(( $(nproc) - 2 )) -m 100000",
"clean-compiled": "npm run clean-js && npm run clean-typedefs && npm run clean-maps",
"build": "npm run clean-compiled && tsc",
"prepare": "npm run build",
"lint": "oxlint",
"format": "oxfmt \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\" \"benchmark/**/*.ts\"",
"format:check": "oxfmt --check \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\" \"benchmark/**/*.ts\"",
"test": "npm run build && node --experimental-test-module-mocks --import ./test/mocks/index.js --test --test-timeout=15000 $(find test -name '*.spec.js')",
"test-coverage": "npm run build && node --experimental-test-module-mocks --enable-source-maps --import ./test/mocks/index.js --test --experimental-test-coverage --test-timeout=15000 $(find test -name '*.spec.js')",
"test-lcov": "npm run build && mkdir -p coverage && node --experimental-test-module-mocks --enable-source-maps --import ./test/mocks/index.js --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-timeout=15000 $(find test -name '*.spec.js'); node scripts/strip-comment-coverage.mjs coverage/lcov.info",
"test-coverage-html": "npm run test-lcov; genhtml coverage/lcov.info --output-directory coverage/html --ignore-errors inconsistent,corrupt,format,mismatch && echo \"Coverage report: file://$(pwd)/coverage/html/index.html\"",
"test-dev": "npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps",
"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 .agent-out",
"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-benchmark"
},
"repository": {
"type": "git",
"url": "git://github.com/imqueue/core.git"
},
"bugs": {
"url": "https://github.com/imqueue/core/issues"
},
"homepage": "https://imqueue.com/",
"author": "imqueue.com <support@imqueue.com> (https://imqueue.com)",
"license": "GPL-3.0-only",
"dependencies": {
"ioredis": "^5.11.1"
},
"devDependencies": {
"@types/node": "^24.9.1",
"oxfmt": "0.57.0",
"oxlint": "1.72.0",
"typescript": "^7.0.2"
},
"main": "index.js",
"types": "index.d.ts",
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./debug": {
"types": "./debug.d.ts",
"default": "./debug.js"
},
"./package.json": "./package.json"
}
}