Browse Source

setup slack package

Yuki Takei 5 years ago
parent
commit
3e481b6cb4
2 changed files with 10 additions and 0 deletions
  1. 2 0
      packages/slack/package.json
  2. 8 0
      packages/slack/src/index.ts

+ 2 - 0
packages/slack/package.json

@@ -2,6 +2,8 @@
   "name": "@growi/slack",
   "version": "0.9.0-RC",
   "license": "MIT",
+  "main": "dist/index.js",
+  "files": ["dist"],
   "scripts": {
     "build": "yarn tsc",
     "tsc": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",

+ 8 - 0
packages/slack/src/index.ts

@@ -0,0 +1,8 @@
+export const supportedSlackCommands: string[] = [
+  '/growi',
+];
+
+export const supportedGrowiCommands: string[] = [
+  'search',
+  'create',
+];