dare

v0.90.2
Database to REST, REST to Database
Database MySQL REST

lint

eslint ./ && npx prettier --check . && npx tsc -p ./tsconfig.json

spec

c8 mocha test/specs/**/*.spec.js

test

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

types

tsc -p ./tsconfig.json

prepare

is-ci || husky install

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 ./

prettier

prettier --write --ignore-unknown .

lint-diff

LIST=`git diff-index --cached --name-only --diff-filter=d HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint $LIST; fi

prepublish

npm run types

lint-diff-fix

LIST=`git diff-index --name-only --diff-filter=d HEAD | grep '.*\.js$';`; if [ "$LIST" ]; then eslint --fix $LIST; fi

test:integration

bash ./test/integration/run.sh

Metadata

  • MIT
  • >=17
  • Andrew Dodson
  • released 8/2/2024

Downloads