{"_id":"script-runner","_rev":"1214248","name":"script-runner","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","dist-tags":{"latest":"0.1.8"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"time":{"modified":"2021-10-13T05:47:16.000Z","created":"2016-02-12T10:55:54.771Z","0.1.8":"2018-08-13T09:10:25.862Z","0.1.7":"2017-06-30T11:05:37.523Z","0.1.6":"2016-10-18T07:03:30.954Z","0.1.5":"2016-06-14T23:20:58.629Z","0.1.4":"2016-02-12T14:30:40.643Z","0.1.3":"2016-02-12T14:12:30.469Z","0.1.2":"2016-02-12T13:33:07.066Z","0.1.1":"2016-02-12T13:05:51.030Z","0.1.0":"2016-02-12T10:55:54.771Z"},"users":{"uxabdullah":true},"author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"versions":{"0.1.8":{"name":"script-runner","version":"0.1.8","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"files":["*.js","lib/*.js"],"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"better-spawn":"^1.0.4","minimatch":"^3.0.4","yaku":"^0.18.6"},"devDependencies":{"coffeescript":"^2.3.1","snapy":"^0.1.6","coffee-loader":"^0.9.0"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"snapy","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"snapy --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"c498d74cb3726a64fcd8ced59c758558cfb668fa","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.8","_npmVersion":"6.3.0","_nodeVersion":"10.5.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"860a2e7be47491f37ba3cc11bb40e2d2d5f0ac19","size":3345,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.8.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-runner_0.1.8_1534151425787_0.9986680040439975"},"_hasShrinkwrap":false,"publish_time":1534151425862,"_cnpm_publish_time":1534151425862},"0.1.7":{"name":"script-runner","version":"0.1.7","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"files":["*.js","lib/*.js"],"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"better-spawn":"^1.0.1","minimatch":"^3.0.4"},"devDependencies":{"atom-ui-reporter":"0.0.1","coffeescript":"^2.0.0-beta2","chai":"^4.0.2","mocha":"^3.4.2"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"d0ce73918c95d6e287ed9d1b29884f24db2fc522","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.7","_npmVersion":"5.0.4","_nodeVersion":"8.1.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"043974b5f3b72f20b2b54744239827c1058baca6","size":3884,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.7.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-runner-0.1.7.tgz_1498820736573_0.06978418165817857"},"directories":{},"publish_time":1498820737523,"_cnpm_publish_time":1498820737523,"_hasShrinkwrap":false},"0.1.6":{"name":"script-runner","version":"0.1.6","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.3.1"},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"d844ec88dc0899d587585770a7960f46a2f814d4","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.6","_shasum":"600542e90004256e75e2e8f06bbcfa86759787c6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"600542e90004256e75e2e8f06bbcfa86759787c6","size":5687,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.6.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/script-runner-0.1.6.tgz_1476774209030_0.2850798324216157"},"directories":{},"publish_time":1476774210954,"_cnpm_publish_time":1476774210954,"_hasShrinkwrap":false},"0.1.5":{"name":"script-runner","version":"0.1.5","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.3.1"},"devDependencies":{"atom-ui-reporter":"0.0.1","chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"39012d9f6dfd14480521ae9cf2932b11ff973b8b","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.5","_shasum":"18d3ecba36af1dd4c23d377979130d1ebc593db1","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"18d3ecba36af1dd4c23d377979130d1ebc593db1","size":5687,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.5.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/script-runner-0.1.5.tgz_1465946456173_0.8295042423997074"},"directories":{},"publish_time":1465946458629,"_cnpm_publish_time":1465946458629,"_hasShrinkwrap":false},"0.1.4":{"name":"script-runner","version":"0.1.4","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.2.3"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"722f806fa15127be98e15f55ebccc5808070a369","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.4","_shasum":"06d7399fe408f76cd3d1a2d1f37d07b93ad41ea1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"06d7399fe408f76cd3d1a2d1f37d07b93ad41ea1","size":5411,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.4.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/script-runner-0.1.4.tgz_1455287436922_0.29450731445103884"},"directories":{},"publish_time":1455287440643,"_cnpm_publish_time":1455287440643,"_hasShrinkwrap":false},"0.1.3":{"name":"script-runner","version":"0.1.3","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.2.3"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"f5c1ecd4cb7de2718788874f4b51e484e4c8ea70","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.3","_shasum":"cac0b014aaa42df9db1527106f4099d7b47d2aae","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"cac0b014aaa42df9db1527106f4099d7b47d2aae","size":5397,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/script-runner-0.1.3.tgz_1455286346957_0.8422957654111087"},"directories":{},"publish_time":1455286350469,"_cnpm_publish_time":1455286350469,"_hasShrinkwrap":false},"0.1.2":{"name":"script-runner","version":"0.1.2","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.2.1"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"533dc0b917a3aed3213441bbf106f0135e4aa0fc","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.2","_shasum":"09fc91bd0305b411b2aa3aa727ee73cb5adf7ee1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"09fc91bd0305b411b2aa3aa727ee73cb5adf7ee1","size":5399,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/script-runner-0.1.2.tgz_1455283983371_0.12161471485160291"},"directories":{},"publish_time":1455283987066,"_cnpm_publish_time":1455283987066,"_hasShrinkwrap":false},"0.1.1":{"name":"script-runner","version":"0.1.1","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.2.1"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test2":"nothing here 2","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"c5de74b718127857d329128ff64c2ca7069d8431","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.1","_shasum":"5fc9f028fc2c95a51c2151a0941b65971ffc8107","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"5fc9f028fc2c95a51c2151a0941b65971ffc8107","size":5338,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/script-runner-0.1.1.tgz_1455282349095_0.042047818191349506"},"directories":{},"publish_time":1455282351030,"_cnpm_publish_time":1455282351030,"_hasShrinkwrap":false},"0.1.0":{"name":"script-runner","version":"0.1.0","description":"Invoke multiple commands, running in parallel / sequential, matching npm scripts","homepage":"https://github.com/paulpflug","author":{"name":"Paul Pflugradt","email":"paul.pflugradt@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/paulpflug/script-runner.git"},"main":"lib/index.js","bin":{"run":"./run.js","run-seq":"./run.js","run-para":"./run-para.js","run-npm":"./run-npm.js"},"keywords":["parallel","sequential","npm script","shell"],"dependencies":{"minimatch":"^3.0.0","better-spawn":"^0.2.1"},"devDependencies":{"chai":"^3.5.0","coffee-script":"^1.10.0","mocha":"^2.2.4"},"scripts":{"build":"coffee --no-header --compile --output lib/ src/*.coffee","test":"mocha","test:2":"nothingHere2","test:3":"nothingHere3","watch":"mocha --watch","preversion":"npm test","version":"npm run build && git add .","postversion":"git push && git push --tags && npm publish"},"gitHead":"3561c13bca7cd848f2dd40a06053b8378d63520d","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"_id":"script-runner@0.1.0","_shasum":"eed2ef711021ce06c87d14743c9d3ff6e569c4a6","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"paulpflug","email":"paulpflugradt@googlemail.com"},"maintainers":[{"name":"paulpflug","email":"paulpflugradt@googlemail.com"}],"dist":{"shasum":"eed2ef711021ce06c87d14743c9d3ff6e569c4a6","size":5280,"noattachment":false,"key":"/script-runner/-/script-runner-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/script-runner/download/script-runner-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/script-runner-0.1.0.tgz_1455274552916_0.9404492201283574"},"directories":{},"publish_time":1455274554771,"_cnpm_publish_time":1455274554771,"_hasShrinkwrap":false}},"readme":"## Script runner\n\nInvoke multiple commands, running in parallel / sequential, matching npm scripts\n\n### Install\n\n```bash\nnpm install --save-dev script-runner\n```\n\n### Usage\n\n```\nusage: run [<options> [cmd..]..]\n\n\noptions:\n-h, --help         output usage information\n-v, --verbose      verbose logging (not implemented yet)\n    --silent       suppress output of children\n    --no-errors    also suppress error-output of children\n-t, --test         no running only show process structure\n-s, --sequential   following cmds will be run in sequence\n-p, --parallel     following cmds will be run in parallel\n-i, --ignore       the following cmd will be ignored for --first, --wait and errors\n-f, --first        only in parallel block: close all sibling processes after first exits\n-w, --wait         only in parallel block: will not close sibling processes on error\n-m, --master       only in parallel block: close all sibling processes when the following cmd exits. exitCode will only depend on master\n\nrun also looks in node_modules/.bin for cmds\nrun-para is a shorthand for run --parallel\nrun-seq is a longhand for run\nrun-npm will match cmd with npm script and replace them, usage of globs is allowed\ne.g. \n    run-npm -p build:* -s deploy\n```\n\n### Examples\n\n```bash\nrun \"echo 1\" \"echo 2\"\nrun-para \"echo 1\" \"echo 2\"\nrun-npm build:*\nrun mocha\nrun-npm -p serve --master \"run-npm 'sleep 1' test:e2e\"\n```\n\n```json\n// package.json\n\"scripts\": {\n    ...\n    \"build\": \"run-npm build:*\",\n    \"build:step1\": \"do something\",\n    \"build:step2\": \"do another thing\"\n    ...\n}\n```\n\n\n## License\nCopyright (c) 2016 Paul Pflugradt\nLicensed under the MIT license.\n","_attachments":{},"homepage":"https://github.com/paulpflug","bugs":{"url":"https://github.com/paulpflug/script-runner/issues"},"license":"MIT"}