All Projects → knownasilya → npm-scripts

knownasilya / npm-scripts

Licence: other
Run your npm scripts more efficiently

Programming Languages

javascript
184084 projects - #8 most used programming language

npm-scripts

Run your npm scripts more efficiently

NPM

Usage

npm install -g npm-scripts

Now 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 start

This also works with the beginning of the command like ns i for ns install.

For available options, use ns -h.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].