hapi-mock

v2.0.0-beta.2
A simple HAPI plug-in for mocking endpoints
hapi mock

coveralls

npm run test && cat ./coverage/lcov.info | coveralls

preversion

npm run lint && npm test

build

npm run build:clear && npm run build:copy && npm run build:ts

build:clear

rm -rf ./build

build:copy

mkdir -p build/src && cp src/index.d.ts build/src

build:ts

tsc

lint

npm run lint:ts

lint:ts

eslint src/**/*.ts --ignore-path ./.eslintignore

lint:fix

eslint src/**/*.ts --ignore-path ./.eslintignore --fix

test

jest

test:all

npm run lint && npm test

test:ci

npm run lint && CI=true npm test

prepublishOnly

npm run build && npm run test:all

Metadata

  • MIT
  • >=12.0.0
  • Frank Thelen
  • released 5/17/2021

Downloads

Maintainers