Skip to content

slackapi/workflow-powerups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Colm Doyle
Oct 9, 2020
8a9ef89 · Oct 9, 2020

History

10 Commits
Oct 9, 2020
Sep 11, 2020
Sep 11, 2020
Sep 11, 2020
Sep 11, 2020
Sep 11, 2020
Sep 11, 2020
Sep 10, 2020
Sep 21, 2020
Oct 6, 2020
Oct 6, 2020
Sep 11, 2020

Repository files navigation

workflow-powerups

A Slack App with a collection of Workflow Steps. It's written with Bolt for JS and is written in Typescript.

Development

You'll need a .env file with some of your Slack App credentials.

export SLACK_BOT_TOKEN="..."
export SLACK_SIGNING_SECRET="..."

Install Dependencies

npm install

Start Typescript Compiler

You can run the Typescript compiler in watch mode.

npm run watch-ts

Start Node server

You can start the node server in watch mode.

npm run watch-node

Linting & Formatting

ESLint is used as a linter and can be with the following command, or integrated into your IDE.

npm run lint

Prettier is used as a formatted and can be run with the following command, or integrated into your IDE.

npm run format

Deployment

The app is compiled into the ./out directory, and the main entrypoint file lives at ./out/server.js. It can be started with a normal npm start