Yuki Takei 9 년 전
부모
커밋
dfca70330a
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 1
      packages/growi-commons/package.json
  2. 1 0
      packages/growi-commons/src/index.js
  3. 1 3
      packages/growi-commons/src/lib/util/BasicInterceptor.js

+ 2 - 1
packages/growi-commons/package.json

@@ -1,7 +1,8 @@
 {
   "name": "crowi-pluginkit",
-  "version": "1.0.0",
+  "version": "1.0.1",
   "description": "The Crowi Plugin Kit to develop plugins",
+  "main": "lib/index.js",
   "files": [
     "lib"
   ],

+ 1 - 0
packages/growi-commons/src/index.js

@@ -0,0 +1 @@
+export * from './lib/util/BasicInterceptor';

+ 1 - 3
packages/growi-commons/src/lib/util/BasicInterceptor.js

@@ -1,7 +1,7 @@
 /**
  * Basic Interceptor class
  */
-class BasicInterceptor {
+export class BasicInterceptor {
 
   /**
    * getter for id
@@ -43,5 +43,3 @@ class BasicInterceptor {
   }
 
 }
-
-module.exports = BasicInterceptor;