Installation
npm install abigail --global
Usage
abigail is npm scripts emulator.
you can succinctly describe the serial run-script and watch files.
abby test, lint, cover.
in addition, makes it easy to change the settings using optional arguments.
abby test --no-log
> _
or specify package.json abigail
field.
{
"scripts": {
"test": "mocha"
},
"abigail": {
"plugins": {
"watch": "*,src/**/*.jsx,test/**/*.jsx"
}
}
}
abby test
serial run-script
if connecting the script name with a comma, run the script in serial.
abby cover, report.
parallel run-script
unless connecting the script name with a comma, run the script in parallel.
abby babel jade stylus
glob run-script
if specify glob the script name, run the matching scripts in serial.
abby mytask:*
bail run-script
if specify --launch bail
, to strict serial run-script(not ignore the error and continues).
abby cover, report.
abby cover, report. --launch bail
run with script
if specify --
, it run the subsequent arguments as the end of the script.
abby cover:* -- --quiet
if the locally use, use the double quote(""
).
abby cant-quiet-task "cover:* -- --quiet"
See also
Inspired by
Development
Requirement global
git clone https://github.com/abigailjs/abigail
cd abigail
npm install
npm test
License
MIT