UNPKG

@gammarers/aws-sns-slack-message-lambda-subscription

Version:

This AWS CDK Construct is designed to post messages sent from an SNS topic to a Slack Webhook via a Lambda function.

168 lines (167 loc) 4.77 kB
{ "name": "@gammarers/aws-sns-slack-message-lambda-subscription", "description": "This AWS CDK Construct is designed to post messages sent from an SNS topic to a Slack Webhook via a Lambda function.", "repository": { "type": "git", "url": "https://github.com/gammarers/aws-sns-slack-message-lambda-subscription.git" }, "scripts": { "build": "npx projen build", "bump": "npx projen bump", "bundle": "npx projen bundle", "bundle:funcs/send-slack-message.lambda": "npx projen bundle:funcs/send-slack-message.lambda", "bundle:funcs/send-slack-message.lambda:watch": "npx projen bundle:funcs/send-slack-message.lambda:watch", "clobber": "npx projen clobber", "compat": "npx projen compat", "compile": "npx projen compile", "default": "npx projen default", "docgen": "npx projen docgen", "eject": "npx projen eject", "eslint": "npx projen eslint", "package": "npx projen package", "package-all": "npx projen package-all", "package:dotnet": "npx projen package:dotnet", "package:js": "npx projen package:js", "package:python": "npx projen package:python", "post-compile": "npx projen post-compile", "post-upgrade": "npx projen post-upgrade", "pre-compile": "npx projen pre-compile", "release": "npx projen release", "test": "npx projen test", "test:watch": "npx projen test:watch", "unbump": "npx projen unbump", "upgrade": "npx projen upgrade", "watch": "npx projen watch", "projen": "npx projen" }, "author": { "name": "yicr", "email": "yicr@users.noreply.github.com", "organization": true }, "devDependencies": { "@gammarers/jest-aws-cdk-asset-filename-renamer": "^0.5.21", "@slack/webhook": "^7.0.3", "@stylistic/eslint-plugin": "^2", "@types/aws-lambda": "^8.10.145", "@types/jest": "^29.5.14", "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^8", "@typescript-eslint/parser": "^8", "aws-cdk-lib": "2.189.1", "aws-sdk-client-mock": "^4.1.0", "aws-sdk-client-mock-jest": "^4.1.0", "axios": "^1.6.7", "commit-and-tag-version": "^12", "constructs": "10.0.5", "esbuild": "^0.25.8", "eslint": "^9", "eslint-import-resolver-typescript": "^3.10.1", "eslint-plugin-import": "^2.32.0", "jest": "^29.7.0", "jest-junit": "^16", "jsii": "5.8.x", "jsii-diff": "^1.113.0", "jsii-docgen": "^10.5.0", "jsii-pacmak": "^1.113.0", "jsii-rosetta": "5.8.x", "projen": "^0.95.1", "ts-jest": "^29.4.1", "ts-node": "^10.9.2", "typescript": "5.8.x" }, "peerDependencies": { "@gammarers/aws-resource-naming": "^0.10.1", "aws-cdk-lib": "^2.189.1", "constructs": "^10.0.5" }, "dependencies": { "@gammarers/aws-resource-naming": "0.10.1" }, "keywords": [ "aws", "aws-cdk", "cdk", "lambda", "slack", "sns", "webhook" ], "engines": { "node": ">= 18.0.0" }, "main": "lib/index.js", "license": "Apache-2.0", "publishConfig": { "access": "public" }, "version": "1.0.11", "jest": { "coverageProvider": "v8", "snapshotSerializers": [ "<rootDir>/node_modules/@gammarers/jest-aws-cdk-asset-filename-renamer" ], "testMatch": [ "<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)", "<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)", "<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)", "<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)" ], "clearMocks": true, "collectCoverage": true, "coverageReporters": [ "json", "lcov", "clover", "cobertura", "text" ], "coverageDirectory": "coverage", "coveragePathIgnorePatterns": [ "/node_modules/" ], "testPathIgnorePatterns": [ "/node_modules/" ], "watchPathIgnorePatterns": [ "/node_modules/" ], "reporters": [ "default", [ "jest-junit", { "outputDirectory": "test-reports" } ] ], "transform": { "^.+\\.[t]sx?$": [ "ts-jest", { "tsconfig": "tsconfig.dev.json" } ] } }, "types": "lib/index.d.ts", "stability": "stable", "jsii": { "outdir": "dist", "targets": { "python": { "distName": "gammarers.aws-sns-slack-message-lambda-subscription", "module": "gammarers.aws_sns_slack_message_lambda_subscription" }, "dotnet": { "namespace": "Gammarers.CDK.AWS", "packageId": "Gammarers.CDK.AWS.SNSSlackMessageLambdaSubscription" } }, "tsc": { "outDir": "lib", "rootDir": "src" } }, "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"." }