UNPKG

serverless-offline-sns

Version:

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

90 lines (89 loc) 2.42 kB
{ "name": "serverless-offline-sns", "version": "0.78.1", "description": "Serverless plugin to run a local SNS server and call lambdas with events notifications.", "exports": "./dist/index.js", "type": "module", "scripts": { "build": "tsc -p src", "watch": "tsc -p src -w", "test": "nyc ts-mocha -r ts-node/register --loader=ts-node/esm --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node \"test/**/*.ts\" -p test/tsconfig.json", "lint": "tslint -c tslint.json '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/mj1618/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/mj1618/serverless-offline-sns/issues" }, "homepage": "https://github.com/mj1618/serverless-offline-sns#readme", "dependencies": { "@aws-sdk/client-sns": "^3.465.0", "@aws-sdk/client-sqs": "^3.465.0", "body-parser": "^1.20.2", "cors": "^2.8.5", "express": "^4.18.2", "lodash": "^4.17.21", "node-fetch": "^3.3.2", "serverless": "^3.38.0", "shelljs": "^0.8.5", "uuid": "^9.0.1", "xml": "^1.0.1" }, "devDependencies": { "@types/chai": "^4.3.11", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/mocha": "^10.0.6", "@types/node": "^20.10.2", "@types/node-fetch": "^2.6.9", "@types/serverless": "^3.12.18", "@types/shelljs": "^0.8.15", "@types/uuid": "^9.0.7", "@types/xml": "^1.0.11", "all-contributors-cli": "^6.26.1", "aws-sdk-client-mock": "^3.0.0", "chai": "^4.3.10", "mocha": "^10.2.0", "nyc": "^15.1.0", "prettier": "3.1.0", "ts-mocha": "^10.0.0", "ts-node": "^10.9.1", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "typescript": "^5.3.2" }, "nyc": { "extension": [ ".ts", ".tsx" ], "exclude": [ "**/*.d.ts" ], "include": [ "src/" ], "reporter": [ "html", "lcov" ], "all": true } }