2.0.1 • Published 10 years ago
slush-banner-tool v2.0.1
slush-banner-tool
Getting started
- Install global dependencies:
npm install -g gulp slush- Install generator:
npm install -g slush-banner-toolUsage
- Create a new folder for your banner and cd into it:
mkdir my-banner && cd $_- Run the generator and answer the questions:
slush banner-toolLocal development
Test
- To test the generator locally run:
npm linkPublish
- To publish a new version of the generator to NPM run:
npm publishLodash 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.