0.0.1-experimental-takoyaki • Published 9 years ago
os-script v0.0.1-experimental-takoyaki
os-script
Operating system-specific npm scripts!
Simple branching over scripts in your module's package.json, converting to npm run foo to npm run foo:win32 or npm run foo:darwin for tasks whose commands differ across Operating System platforms
Installation
$ npm install os-script --save-devUsage
Add scripts to your package.json like so:
"scripts": {
"foo": "os-script foo",
"foo:win32": "copy src\file1 dist\file1",
"foo:darwin": "cp src/file1 dist/file1"
}And invoke via npm run foo
v1.0.0 Todo
- Tests
- Pass through commands
- :default script suffix
0.0.1-experimental-takoyaki
9 years ago
0.0.1-experimental-donut
9 years ago
0.0.1-pizza
9 years ago
0.0.1-tomato
9 years ago
0.0.1-potato
9 years ago
0.0.1
9 years ago