This repo contains a sample project and embedded lightweight SDK of a Typescript based project for the new Deno runtime.
This is our single file solution for creating small, simple projects directly in the project.ts
file to keep everything visible at a glance. Any new functions
, workflows
or triggers
changes to the variable names must be represented in the Project
object.
Create a new project using this as repo as a template.
slack create -t slackapi/deno-simple
slack run
slack deploy
You can write tests for your function, see functions/reverse_test.ts
for a sample. Test base filenames should be suffixed with _test
. To run tests just run:
slack deno test