jsonapi-server
v1.16.0 jsonapi json:api swagger api
test
node ./node_modules/mocha/bin/mocha -S -R spec ./test/*.js
start
node example/server.js
coveralls
node ./node_modules/mocha/bin/mocha -S --require blanket --reporter mocha-lcov-reporter ./test/*.js | node ./node_modules/coveralls/bin/coveralls.js
coverage
node ./node_modules/mocha/bin/mocha -S --require blanket --reporter html-cov ./test/*.js > coverage.html
complexity
node ./node_modules/plato/bin/plato -r -d complexity lib
performance
node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha -S --reporter mocha-performance ./test/*.js
lint
node ./node_modules/eslint/bin/eslint ./example ./lib ./test --quiet && echo '✔ All good!'
jscpd
jscpd --blame -p ./lib/ || echo 'Finished!'
flow
node ./node_modules/flow-bin/cli.js && echo '✔ All good!'
swagger
node ./node_modules/mocha/bin/mocha -S -R spec ./swaggerValidator.js --timeout 60000