nps-with-rc v1.0.0
nps-with-rc
A fork of this wonderful project because I'm impatient.
Please see that package for all other documentation, support for .npsrc
is the only feature added by this package.
CLI Configuration File
Some of the options accepted by CLI can also be provided in a .npsrc
or .npsrc.json
JSON configuration file.
It will search upwards starting in the directory the nps
command was invoked from.
The accepted options are:
require
config
The other options can be provided in the specified configuration file (or the default package-scripts.js
) once it is loaded, but these
options need to be provided in order to find and parse the configuration file.
This is can be useful when you have a reqular set of options you need to pass to nps
, especially when using series.nps()
or concurrent.nps()
from nps-utils
.
{
"require": "ts-node/register/transpileOnly",
"config": "package-scripts.ts"
}
Contributors
Thanks goes to these people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
LICENSE
MIT
5 years ago