@ish/gulp-registry
v0.5.0
Published
ISH Web's custom gulp registry
Downloads
13
Readme
@ish/gulp-registry
ISH Web's custom gulp registry
Installation
npm install --save-dev @ish/gulp-registry
Requirements
Usage
Make sure public tasks (build
, release
, etc.) run only one at a time. Create a .gulp.json
file containing:
{
"flags": {
"series": true
}
}
Create a gulpfile.js
file in the root of the project. Example template:
'use strict';
const gulp = require('gulp');
const ISHRegistry = require('@ish/gulp-registry');
//------------------------------------------------------------------------------
// Properties
//------------------------------------------------------------------------------
const CONFIG = {};
//------------------------------------------------------------------------------
// Public tasks
// - Assume public tasks (`build`, `release`, etc.) run only one at a time
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Custom registry
// - Needs to be called after we define our external tasks
//------------------------------------------------------------------------------
gulp.registry(new ISHRegistry(CONFIG));
Required external tasks
These need to be defined in your gulpfile.js
build-frontend
How to publish
Follow the same steps as for @ish/eslint-config.