slush-banner-tool
v2.0.1
Published
Banner scaffolding tool
Downloads
3
Maintainers
Readme
slush-banner-tool
Getting started
- Install global dependencies:
npm install -g gulp slush
- Install generator:
npm install -g slush-banner-tool
Usage
- Create a new folder for your banner and cd into it:
mkdir my-banner && cd $_
- Run the generator and answer the questions:
slush banner-tool
Local development
Test
- To test the generator locally run:
npm link
Publish
- To publish a new version of the generator to NPM run:
npm publish
Lodash templating
The tool uses gulp-template
to precompile lodash templates. However, the generated Gulp tasks also use this module. To prevent conflict, two different interpolation regexs are used:
<% %>
(default) is used by the Slush generator${ }
(ES6-style) is used by the generated Gulp tasks
See the lodash docs for more info.