2
0
Yuki Takei 5 жил өмнө
parent
commit
3e481b6cb4

+ 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',
+];