@imqueue/core
Version:
Simple JSON-based messaging queue for inter service communication
107 lines (106 loc) • 4.07 kB
JSON
{
"name": "@imqueue/core",
"version": "2.0.14",
"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",
"prepare": "./node_modules/.bin/tsc",
"test": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha --exit --timeout 10000 && ./node_modules/.bin/nyc report --reporter=text-lcov",
"test-fast": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha --exit --timeout 10000 && /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_COVERALLS_TOKEN && npm test && /usr/bin/env node -e \"import('open').then(open => open.default('https://coveralls.io/github/imqueue/imq', { wait: false }))\"",
"test-dev": "npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps",
"test-coverage": "cat ./coverage/lcov.info | CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=85bb2a18-4ebb-4e48-a2ce-92b7bf438b1a ./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 \"**/+(test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --out ./docs . && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html',{wait:false}))\""
},
"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.7.0"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@types/chai": "^5.2.2",
"@types/eslint__eslintrc": "^2.1.2",
"@types/mocha": "^10.0.0",
"@types/mock-require": "^3.0.0",
"@types/node": "^24.2.1",
"@types/sinon": "^17.0.4",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@typescript-eslint/typescript-estree": "^8.39.0",
"chai": "^5.2.1",
"coveralls-next": "^5.0.0",
"eslint": "^9.33.0",
"eslint-plugin-jsdoc": "^52.0.4",
"mocha": "^11.7.1",
"mocha-lcov-reporter": "^1.3.0",
"mock-require": "^3.0.3",
"nyc": "^17.1.0",
"open": "^10.2.0",
"reflect-metadata": "^0.2.2",
"sinon": "^21.0.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typedoc": "^0.28.9",
"typescript": "^5.9.2",
"yargs": "^18.0.0"
},
"main": "index.js",
"typescript": {
"definitions": "index.d.ts"
},
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"recursive": true,
"bail": true,
"full-trace": true,
"exit": true,
"timeout": 10000
},
"nyc": {
"check-coverage": false,
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"**/test/**"
],
"require": [
"ts-node/register"
],
"reporter": [
"html",
"text",
"text-summary",
"lcovonly"
]
}
}