config-dir-all

v0.0.17
Configuration for multiple deployments
configuration,config,conf,environment,env,directories,directory,dir,command,line,arguments

_npm-audit

npm audit || echo ' *** Please check warnings above *** ' && npm audit --production --audit-level high && echo ' *** npm audit reported no high-level vulnerabilities for production configuration *** '

_deps-check

npm-check-updates --error-level 2

_deps-update

echo '* Updating packages versions... '; npm-check-updates -u --upgradeAll --error-level 1 && npm install

_check-changes

echo '* Checking if git directory is clean... '; bash -c '[[ -z $(git status -uno --porcelain) ]]'

update-deps

npm run _check-changes && npm run _deps-update && npm test && git commit -am 'updated deps'

lint

eslint -f unix .

inspect

jsinspect --ignore 'coverage|test'

pretest

npm run lint && npm run inspect && npm run _npm-audit && npm run _deps-check

_test

nyc ./node_modules/mocha/bin/_mocha -- -R spec ./test/**/*

_test-report

nyc report --reporter=html && nyc report --reporter=text-lcov > coverage/coverage.lcov

test

npm run _test && npm run _test-report

test-travis

npm run _test && npm run _test-report

__test

echo "Warning: no test specified" && exit 0

___test

echo "Error: no test specified" && exit 1

_commit

git commit -am "commit by 'npm run commit'"

_push

git push --follow-tags

commit-and-push

npm run _commit && npm test && npm run _push

_publish

npm publish --access public

___patch-release

npm version patch && git commit -am 'npm version patch' && npm run _publish

_patch-release

npm version patch && npm run _publish

_minor-release

npm version minor && git commit -am 'npm version minor' && npm run _publish

_major-release

npm version major && git commit -am 'npm version major' && npm run _publish

patch-release

npm test && npm run _patch-release && npm run _push

minor-release

npm test && npm run _minor-release && npm run _push

__major-release

npm test && npm run _major-release && npm run _push

_coveralls

cat ./coverage/coverage.lcov | ./node_modules/coveralls/bin/coveralls.js

travis-before-install

travis-before-script

travis-script

npm run test

travis-after-script

npm run _coveralls
npm i config-dir-all

Metadata

  • MIT
  • Whatever
  • Alexander
  • released 10/26/2019

Downloads

Maintainers