UNPKG

serverless-offline-sns

Version:

Serverless plugin to run a local SNS server and call lambdas with events notifications.

100 lines (99 loc) 2.95 kB
{ "name": "serverless-offline-sns", "version": "1.0.3", "description": "Serverless plugin to run a local SNS server and call lambdas with events notifications.", "main": "dist/index.js", "exports": "./dist/index.js", "type": "module", "scripts": { "build": "tsc -p src", "watch": "tsc -p src -w", "test": "TS_NODE_PROJECT=test/tsconfig.json c8 mocha", "test:integration": "yarn --cwd test/integration install --ignore-engines && yarn build && TS_NODE_PROJECT=test/integration/tsconfig.json mocha --no-config --loader=ts-node/esm --no-warnings=ExperimentalWarning 'test/sns.integration.ts'", "lint": "eslint src", "prepare": "yarn run lint && yarn test && yarn build", "prettier": "npx prettier --write src test", "upgrade": "npx npm-check-updates -u" }, "repository": { "type": "git", "url": "git+https://github.com/BANCS-Norway/serverless-offline-sns.git" }, "keywords": [ "serverless-plugin", "serverless", "sns", "offline", "localstack" ], "publishConfig": { "registry": "https://registry.npmjs.org/" }, "author": "Matthew James <matthew.stephen.james@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/BANCS-Norway/serverless-offline-sns/issues" }, "engines": { "node": ">=22" }, "homepage": "https://github.com/BANCS-Norway/serverless-offline-sns#readme", "dependencies": { "@aws-sdk/client-lambda": "3.1007.0", "@aws-sdk/client-sns": "3.1007.0", "@aws-sdk/client-sqs": "3.1007.0", "cors": "^2.8.6", "express": "^5.2.1", "lodash": "^4.17.21", "node-fetch": "^3.3.2", "serverless": "^4.0.0", "uuid": "^13.0.0", "xml": "^1.0.1" }, "devDependencies": { "@commitlint/cli": "^20.4.2", "@commitlint/config-conventional": "^20.4.2", "@eslint/js": "^10.0.1", "@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.3", "@types/cors": "^2.8.19", "@types/express": "^5.0.6", "@types/lodash": "^4.17.24", "@types/mocha": "^10.0.10", "@types/node": "^25.3.1", "@types/node-fetch": "^2.6.13", "@types/serverless": "^3.12.28", "@types/uuid": "^11.0.0", "@types/xml": "^1.0.11", "all-contributors-cli": "^6.26.1", "aws-sdk-client-mock": "^4.1.0", "c8": "^11.0.0", "chai": "^6.2.2", "eslint": "^10.0.2", "ioredis": "5.9.3", "mocha": "^11.7.5", "prettier": "3.8.1", "semantic-release": "^25.0.3", "ts-node": "^10.9.2", "typescript": "^5.9.3", "typescript-eslint": "~8.56.1" }, "c8": { "include": [ "src/" ], "exclude": [ "**/*.d.ts" ], "reporter": [ "html", "lcov" ], "all": true } }