checkenv

v1.2.2
Require certain environmental variables
environment env variables NODE_ENV

test

tape test/**/*.js | tap-spec

test-src

TEST_SRC=1 tape test/**/*.js | tap-spec

test-debug

NODE_DEBUG=checkenv npm run test-src

test-validators

TEST_SRC=1 tape test/validators/*.js | tap-spec

coverage

istanbul cover tape test/**/*.js | tap-spec

coveralls

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

build

babel -d dist/ src/

watch

babel -w -d dist/ src/

prepublish

npm run build
npm i checkenv

Metadata

  • MIT
  • Whatever
  • Chris Morrell
  • released 3/30/2017

Downloads

Maintainers