@webscopeio/react-health-check

v3.0.0-next.5
Lightweight React hook for checking health of API services.
react health check hook detect offline api

build

rollup -c

start

rollup -c -w

test

jest --passWithNoTests

types:check

tsc --noEmit

format

prettier --write "{src,tests,examples}/**/*.{ts,tsx}"

lint

eslint "{src,tests,examples}/**/*.{ts,tsx}"

lint:fix

eslint "{src,tests,examples}/**/*.{ts,tsx}" --fix

preversion

npm test

version

npm run build

postversion

git push && git push --tags

package-size

npm pack && tar -xvzf *.tgz && rm -rf package *.tgz

publish

npm publish --access public

publish:next

npm publish --access public --tag next
npm i @webscopeio/[email protected]

Metadata

  • MIT
  • Whatever
  • Jozef Hruška
  • released 1/17/2021

Downloads