0.0.1-experimental-takoyaki • Published 7 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-dev
Usage
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
7 years ago
0.0.1-experimental-donut
7 years ago
0.0.1-pizza
7 years ago
0.0.1-tomato
7 years ago
0.0.1-potato
7 years ago
0.0.1
7 years ago