Closed RammusXu closed 7 years ago
npm prune
加入dependency
npm install --save https://github.com/Hangie921/Ping_Library.git
In package.json
// 新增script "scripts": { "updateping": "npm install ../../Ping_Library" }
下載local端的library
npm run updateping
下載遠端的library
npm install
移除沒有在package.json裡面的node_module
如何在project中加入自己開發的library
加入dependency
In package.json
下載local端的library
下載遠端的library