refill-node
v2.0.1
Published
Refill for node
Downloads
17
Readme
Refill for node
Gulp tasks for node projects powered by refill
Shields
Quickstart
Just put this code in gulpfile.js
require('refill-node').init();
Usage
Make sure you understand how Refill works
init
require('refill-node').init(options, gulp);
gulp
Optional. If you get task not found error you probably should do
require('refill-node').init(options, require('gulp'));
options
Optional. Default options
{
'lint-js': {
task: require('refill-task-eslint')
},
test: {
task: require('refill-task-jasmine')
},
ci: {
task: require('refill-task-sequence'),
sequence: ['lint-js', 'test'],
mode: {
watch: false,
eslintFix: false
}
},
default: {
task: require('refill-task-sequence'),
sequence: ['lint-js', 'test'],
mode: {
eslintFix: false
}
}
}
mode
require('refill-node').mode;
Default mode
{
watch: true,
eslintFix: true
}