express-restify-mongoose
v5.0.0 ReST express restify mongodb mongoose model
lint
eslint **/*.js
prepublish
in-publish && npm test || not-in-publish
pretest
npm run lint
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 -R spec ./test/unit.js
test-filter
mocha -R spec ./test/integration/resource_filter.js --timeout 10s
test-express
mocha -R spec ./test/express.js --timeout 10s
test-restify
mocha -R spec ./test/restify.js --timeout 10s
test-cov-unit
istanbul cover node_modules/mocha/bin/_mocha -- --require babel-register -R spec ./test/unit.js
test-cov-express
istanbul cover node_modules/mocha/bin/_mocha -- --require babel-register -R spec ./test/express.js --timeout 10s
test-cov-restify
istanbul cover node_modules/mocha/bin/_mocha -- --require babel-register -R spec ./test/restify.js --timeout 10s
report-coverage
cat ./coverage/lcov.info | coveralls