UNPKG

sqs-producer

Version:

Enqueues messages onto a given SQS queue

200 lines (199 loc) 5.17 kB
{ "name": "sqs-producer", "version": "7.0.0", "description": "Enqueues messages onto a given SQS queue", "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" } } }, "scripts": { "test": "mocha --recursive --full-trace --exit", "posttest": "npm run lint && npm run format:check", "coverage": "c8 mocha && c8 report --reporter=html && c8 report --reporter=json-summary", "lcov": "c8 mocha && c8 report --reporter=lcov", "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"", "format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"", "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", "pretest": "npm run build", "clean": "rm -fr dist/*", "generate-docs": "typedoc" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "https://github.com/bbc/sqs-producer.git" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/bbc/sqs-producer/issues" }, "keywords": [ "aws", "sqs", "producer", "queue" ], "homepage": "https://bbc.github.io/sqs-producer/", "publishConfig": { "provenance": true }, "release": { "branches": [ "main", "*.x", { "name": "canary", "prerelease": true } ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "breaking", "release": "major" }, { "type": "feat", "release": "minor" }, { "type": "chore", "release": "patch" }, { "type": "fix", "release": "patch" }, { "type": "docs", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "test", "release": "patch" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "chore", "section": "Chores" }, { "type": "docs", "section": "Documentation" }, { "type": "refactor", "section": "Refactors" }, { "type": "test", "section": "Tests" } ] } } ], "@semantic-release/changelog", "@semantic-release/github", "@semantic-release/npm" ] }, "overrides": { "cross-spawn": "^7.0.3" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", "@types/node": "^22.10.5", "@types/sinon": "^17.0.3", "@typescript-eslint/eslint-plugin": "^8.19.1", "@typescript-eslint/parser": "^8.19.1", "chai": "^5.1.2", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^9.17.0", "eslint-config-eslint": "^11.0.0", "mocha": "^11.0.1", "c8": "^10.1.3", "prettier": "^3.4.2", "semantic-release": "^24.2.1", "sinon": "^19.0.2", "ts-node": "^10.9.2", "typedoc": "^0.27.6", "typescript": "^5.7.2" }, "dependencies": { "@aws-sdk/client-sqs": "^3.723.0" }, "peerDependencies": { "@aws-sdk/client-sqs": "^3.723.0" }, "mocha": { "extensions": [ "ts" ], "spec": "test/**/**/*.test.ts", "node-option": [ "loader=ts-node/esm" ] }, "c8": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "sourceMap": true, "instrument": true }, "packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321" }