1.0.1 • Published 8 years ago

run-modified-script v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

run-modified-script@1.0.0

run-modified-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-modified-script')
scriptRunner = function(){
  require('coffeelint/bin/coffeelint');
}
cwd = __dirname;
options = {
  f: ".coffeelint.json"
};

runModified(scriptRunner, cwd, options);
1.0.1

8 years ago

1.0.0

8 years ago