|
@@ -1,29 +1,5 @@
|
|
-# naf-framework-mongoose-free
|
|
|
|
|
|
+### npm 发布相关
|
|
|
|
|
|
-naf egg framework use mongoose
|
|
|
|
-
|
|
|
|
-## 快速入门
|
|
|
|
-
|
|
|
|
-```bash
|
|
|
|
-$ npm install
|
|
|
|
-$ npm test
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-在应用中声明使用框架:
|
|
|
|
-
|
|
|
|
-```js
|
|
|
|
-// {app_root}/index.js 这地方应该不用改,框架名
|
|
|
|
-require('naf-framework-mongoose').startCluster({
|
|
|
|
- baseDir: __dirname,
|
|
|
|
- // port: 7001, // default to 7001
|
|
|
|
-});
|
|
|
|
-
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-## 提问交流
|
|
|
|
-
|
|
|
|
-请到 [egg issues](https://github.com/eggjs/egg/issues) 异步交流。
|
|
|
|
-
|
|
|
|
-## License
|
|
|
|
-
|
|
|
|
-[MIT](LICENSE)
|
|
|
|
|
|
+#### `npm version patch` 更新版本号
|
|
|
|
+#### `npm publish` 发布
|
|
|
|
+#### `npm unpublish <包名(@版本)>` 删除指定包的依赖(指定版本)
|