spawnly

v1.0.3
Wrapper around `child_process.spawn` to enable pass the command as a string directly to spawn
spawn exec command safe spawn spawn command

beautify

esbeautifier 'index.js' 'specs/**/*.js'

beautify-check

esbeautifier -k 'index.js' 'specs/**/*.js'

eslint

eslinter 'index.js' 'specs/**/*.js'

test

mocha-runner 'specs/**/*.js'

cover

istanbul cover -x 'specs/**/*.js' mocha-runner 'specs/**/*.js' html text-summary

watch

watch-spawn -i -p 'specs/**/*.js' -p 'index.js' npm run cover

lint

npm run beautify && npm run eslint

verify

npm run beautify-check && npm run eslint && npm test

install-hooks

prepush install && changelogx install-hook && precommit install

changelog

changelogx -f markdown -o ./changelog.md

do-changelog

npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify

pre-v

npm run verify

post-v

npm run do-changelog && git push --no-verify && git push --tags --no-verify

bump-major

npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v

bump-minor

npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v

bump-patch

npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v
npm i spawnly

Metadata

  • MIT
  • Whatever
  • Roy Riojas
  • released 7/10/2019

Downloads

Maintainers