This commit is contained in:
jysperm
2015-04-11 20:28:10 +08:00
parent 14472cdd29
commit 541c649ca9
5 changed files with 26 additions and 1 deletions

0
docs/README.md Normal file
View File

12
docs/plugin-package-zh.md Normal file
View File

@@ -0,0 +1,12 @@
RootPanel 的每个插件都是一个 Node.js 包,拥有一个 `package.json`, 包含下列字段:
* name
* auhtor
* version
* homepage
* repository
* description
* dependencies
* devDependencies
`dependencies` 字段中定义的依赖会在运行 `npm run install-plugins` 时被安装。

10
docs/usages-zh.md Normal file
View File

@@ -0,0 +1,10 @@
## Scripts
* `install` 安装核心和所有插件的依赖
* `plguins install` 安装位于配置文件中的插件
* `plguins install [name]` 安装一个来自 NPM 的新插件
* `test` 运行自动测试
* `test-plguins` 运行所有插件的自动测试
* `migrate` 在更新后同步数据库和其他信息
* `reconfigre` 重新同步所有插件对系统的修改
* `start` 启动 RootPanel