dare
v0.70.1 Database MySQL REST
lint
eslint ./
spec
c8 mocha test/specs/**/*.spec.js
test
npm run spec && ((c8 report --reporter=text-lcov | coveralls) || exit 0)
pretest
npm run lint
test:ci
eslint ./ && c8 mocha test/specs/**/*.spec.js --reporter mocha-circleci-reporter && (c8 report --reporter=text-lcov | coveralls)
lint-fix
eslint --fix ./
lint-diff
LIST=`git diff-index --cached --name-only --diff-filter=d HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint $LIST; fi
lint-diff-fix
LIST=`git diff-index --name-only --diff-filter=d HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint --fix $LIST; fi
precommit-msg
echo 'Running pre-commit checks... (skip using --no-verify)' && exit 0
test:integration
bash ./test/integration/run.sh