Utilities for nps (npm-package-scripts)
nps is a great package to empower your scripts and there are some common
things you wind up doing to keep your
package-scripts.js file clean, useful,
and maintainable. So you wind up duplicating utility functions across projects.
This has several utility functions you'll often want when using
Check out what the
runInNewWindow methods can do:
npm install --save-dev nps-utils
You'll most likely use this in your
const npsUtils =moduleexports =scripts:validate: npsUtilsconcurrentlint: 'eslint .'build: 'webpack --env.production'test: 'jest'
API docs can be found here
nps also exports
commonTags which can be
really helpful for long scripts or descriptions.
Or, see the JSDoc right in the source code 😎
This package was inspired by the removal of
I am unaware of other solutions, but if you come across any, please add a PR to list them here!
Thanks goes to these people (emoji key):
Kent C. Dodds
💻 📖 🚇 ⚠️
🐛 💻 📖 ⚠️
This project follows the all-contributors specification. Contributions of any kind welcome!