Yuki Takei 9 ani în urmă
părinte
comite
dfca70330a

+ 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;