Welcome to SiftModGen (Sift Module Generator)
Dependencies
Before installation, check...
-
node -v
is 4.1.2 or 4.2.1 -
npm -v
is 2.14.7
- First install Yeoman
npm install -g yo@1.4.8
Usage
- Navigate to the folder in which you wish to make the new module.
- The folder name should match the name you will give the module. (ie: sfAutocomplete)
- install the generator
npm i -g generator-siftmodgen
- From the terminal run:
yo siftmodgen path/to/directory/from/step/1
oryo siftmodgen $(pwd)
Options
- You can name the module
- You can build a ui or node type module
- If it's a ui module, you can add a directive and service as well.