Răsfoiți Sursa

update libs and docs

Yuki Takei 8 ani în urmă
părinte
comite
4870ff2f41

+ 5 - 1
packages/growi-commons/.babelrc

@@ -1,6 +1,10 @@
 {
   "presets": [
-    "es2015"
+    ["env", {
+      "targets": {
+        "browsers": ["last 2 versions"]
+      }
+    }]
   ],
   "plugins": [
     "add-module-exports",

+ 1 - 1
packages/growi-commons/LICENSE

@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2017 Yuki Takei
+Copyright (c) 2017 WESEEK, Inc.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 10 - 9
packages/growi-commons/package.json

@@ -1,7 +1,7 @@
 {
-  "name": "crowi-pluginkit",
+  "name": "growi-pluginkit",
   "version": "1.1.0",
-  "description": "The Crowi Plugin Kit to develop plugins",
+  "description": "The GROWI Plugin Kit to develop plugins",
   "main": "lib/index.js",
   "files": [
     "lib"
@@ -17,22 +17,23 @@
   },
   "repository": {
     "type": "git",
-    "url": "https://github.com/weseek/crowi-pluginkit.git"
+    "url": "https://github.com/weseek/growi-pluginkit.git"
   },
   "author": "Yuki Takei <yuki@weseek.co.jp>",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/weseek/crowi-pluginkit/issues"
+    "url": "https://github.com/weseek/growi-pluginkit/issues"
   },
-  "homepage": "https://github.com/weseek/crowi-pluginkit#readme",
   "dependencies": {},
+  "homepage": "https://github.com/weseek/growi-pluginkit#readme",
   "devDependencies": {
-    "babel-cli": "^6.23.0",
+    "babel-cli": "^6.26.0",
     "babel-plugin-add-module-exports": "^0.2.1",
-    "babel-plugin-transform-class-properties": "^6.23.0",
-    "babel-preset-es2015": "^6.22.0",
-    "babel-preset-power-assert": "^1.0.0",
+    "babel-plugin-transform-class-properties": "^6.24.0",
+    "babel-preset-env": "^1.6.0",
+    "babel-preset-power-assert": "^2.0.0",
     "babel-register": "^6.23.0",
+    "mocha": "^5.0.4",
     "power-assert": "^1.4.2",
     "rimraf": "^2.6.1"
   }