Testing out slack webhook using the jsx-slack package. Creating Slack message using Block Kit using jsx.
Environment variable | Description | Required ? |
---|---|---|
SLACK_MS_WEBHOOK_ENDPOINT | Your slack webhook endpoint | Yes |
SLACK_MS_WEBHOOK_CHANNEL | Your slack channel | Yes |
SLACK_MS_DEBUG | Turn on debug mode (logging) | No (optional) |
// Execute send slack webhook message
yarn run send-message
// Run watch command for build (src -> lib)
yarn run build-watch
// Run build command for build (src -> lib)
yarn run build
- Typescript, Version 3.9.3
- React
- jsx-slack
- @common-web/ts-config