Browse Source

npm相关操作

lrf 3 years ago
parent
commit
ce30ca307f
1 changed files with 4 additions and 28 deletions
  1. 4 28
      README.zh_CN.md

+ 4 - 28
README.zh_CN.md

@@ -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 <包名(@版本)>` 删除指定包的依赖(指定版本)