@5app/digital-hub-api

v1.1.0
API for interacting with a Digital Hub

prepare

is-ci || husky install

lint

eslint ./ && npx prettier --check .

lint-diff

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

lint-fix

eslint --fix ./

test

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

spec

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

precommit-msg

echo 'Running pre-commit checks... (skip using --no-verify)' && exit 0
npm i @5app/digital-hub-api

Metadata

  • ISC
  • >=14.18.0
  • MrSwitch
  • released 4/12/2023

Downloads