dare

v0.49.0
Database to REST, REST to Database
Database MySQL REST

lint

eslint ./

spec

nyc mocha test/specs/**/*.js

test

npm run spec && ((nyc report --reporter=text-lcov | coveralls) || exit 0)

pretest

npm run lint

test:ci

eslint ./ && nyc mocha test/specs/**/*.js --reporter mocha-circleci-reporter && (nyc 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

semantic-release

semantic-release

Metadata

  • MIT
  • >=10.0.0
  • Andrew Dodson
  • released 1/19/2021

Downloads