li-npm-srv
1.0.14 • Public • Published version 1.0.3
- add limi xuexi bigscreen ajax
version 1.0.4
version 1.0.5
- add ezPromise function
- add ezSrv modules
version 1.0.6
- add learn modules
- delete files Operator
version 1.0.7
install
npm init
license : MIT
mkdir tests lib
touch index.js README.md
cd lib/
touch file.js utils.js
cd tests/
touch file.js utils.js
sudo npm install -g istanbul --verbos
npm install -g mocha --verbos
npm install es6-promise --save --verbos
npm install --save-dev chai --verbos
npm install --save-dev mochawesome --verbos
npm install --save-dev mocha --verbos
npm install li-npm-srv
usage
var liSrv = require("li-npm-srv")
test
mocha tests/utils.js
mocha tests/file.js
//监控测试文件的变动
mocha --watch tests
Package Sidebar
Install
Weekly Downloads