1.4.0 • Published 11 years ago
npm-scripts v1.4.0
npm-scripts
Run your npm scripts more efficiently
Usage
npm install -g npm-scriptsNow in a project directory, where you have your package.json, run ns:
$ ns
? Select a package.json script command to run, e.g. npm run [command]. (Use arrow keys)
❯ start
install
test
test-debug
nightwatch
sauce
static
(Move up and down to reveal more choices)The above is just example output.
You can also use ns [command] as a shortcut. So something like this:
ns install
ns build
ns startThis also works with the beginning of the command like ns i for ns install.
For available options, use ns -h.
