run-mod-script

1.0.2 • Public • Published

run-mod-script@1.0.0

run-mod-script runs a script with modified options and cwd. The path to the files the script is run on is modified to work in the new cwd.

runModified = require('run-mod-script')
scriptRunner = function(){
  require('coffeelint/bin/coffeelint');
}
cwd = __dirname;
options = {
  f: ".coffeelint.json"
};

runModified(scriptRunner, cwd, options);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i run-mod-script

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dbartholomae