express-restify-mongoose
v4.0.1 ReST express restify mongodb mongoose model
lint
standard
compile
babel src -d lib --source-maps both
prepublish
in-publish && npm test || not-in-publish
pretest
npm run lint && npm run compile
test
npm run test-unit && npm run test-filter && npm run test-express && npm run test-restify
test-ci
npm run test-unit && npm run test-filter && npm run test-cov-express && npm run test-restify
test-unit
mocha --compilers js:babel-core/register -R spec ./test/unit.js
test-filter
mocha -R spec ./test/integration/resource_filter.js --compilers js:babel-core/register --timeout 10s
test-express
mocha -R spec ./test/express.js --compilers js:babel-core/register --timeout 10s
test-restify
mocha -R spec ./test/restify.js --compilers js:babel-core/register --timeout 10s
test-cov-unit
istanbul cover node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register -R spec ./test/unit.js
test-cov-express
istanbul cover node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register -R spec ./test/express.js --timeout 10s
test-cov-restify
istanbul cover node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register -R spec ./test/restify.js --timeout 10s
report-coverage
cat ./coverage/lcov.info | coveralls
npm i [email protected]
Metadata
- MIT
- >=0.10
- Florian Holzapfel
- released 4/13/2016