UNPKG

sqs-consumer

Version:

Build SQS-based Node applications without the boilerplate

102 lines (101 loc) 3.29 kB
{ "name": "sqs-consumer", "version": "14.2.6", "description": "Build SQS-based Node applications without the boilerplate", "keywords": [ "consumer", "queue", "sqs" ], "homepage": "https://bbc.github.io/sqs-consumer/", "bugs": { "url": "https://github.com/bbc/sqs-consumer/issues" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/bbc/sqs-consumer.git" }, "type": "module", "main": "dist/cjs/index.js", "types": "dist/cjs/index.d.ts", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } } }, "publishConfig": { "provenance": true }, "scripts": { "clean": "rm -fr dist/*", "compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json", "add-package-jsons": "node ./scripts/addPackageJsons.js", "build": "npm run clean && npm run compile && npm run add-package-jsons", "watch": "tsc --watch", "prepublishOnly": "npm run build", "release": "semantic-release", "test:unit": "vitest run --config ./vitest.config.ts", "test:unit:report": "vitest run --config ./vitest.config.ts --reporter=junit --outputFile=test/reports/test-results.xml", "pretest:integration:init": "npm run build", "test:integration:init": "bash ./test/scripts/initIntTests.sh", "test:integration": "npm run test:integration:init && cucumber-js --config ./test/config/cucumber.mjs", "test": "npm run test:unit:report && npm run test:integration", "coverage": "vitest run --config ./vitest.config.ts --coverage --coverage.reporter=html --coverage.reporter=json-summary", "lcov": "vitest run --config ./vitest.config.ts --coverage --coverage.reporter=lcov", "typecheck": "tsc --noEmit", "lint": "oxlint", "lint:fix": "oxlint --fix", "format": "oxfmt", "format:check": "oxfmt --check", "check": "npm run lint && npm run format:check && npm run typecheck && npm run test", "generate-docs": "typedoc" }, "dependencies": { "@aws-sdk/client-sqs": "^3.989.0", "debug": "^4.4.3" }, "devDependencies": { "@cucumber/cucumber": "^12.7.0", "@sebbo2002/semantic-release-jsr": "^3.1.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^12.0.6", "@semantic-release/npm": "^13.1.4", "@semantic-release/release-notes-generator": "^14.1.0", "@types/chai": "^5.2.2", "@types/node": "^25.2.3", "@types/sinon": "^17.0.4", "@vitest/coverage-v8": "^3.2.4", "chai": "^6.2.2", "conventional-changelog-conventionalcommits": "^9.3.0", "jsr": "^0.14.3", "oxfmt": "^0.41.0", "oxlint": "^1.56.0", "p-event": "^7.1.0", "semantic-release": "^25.0.3", "sinon": "^21.0.0", "sqs-producer": "^8.0.2", "ts-node": "^10.9.2", "typedoc": "^0.28.17", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "peerDependencies": { "@aws-sdk/client-sqs": "^3.989.0" }, "overrides": { "cross-spawn": "^7.0.3" }, "engines": { "node": ">=20.0.0" } }