generator-alinw
yeoman generator for alinw projects
Usage
npm install yo generator-alinw -g
mkdir test
cd test
yo alinw
Available Commands
Command | Description |
---|---|
yo alinw | generator a new project |
yo alinw:web | generator a new web project |
yo alinw:h5 | generator a new h5 project |
yo alinw:mod | generator a new module |
yo alinw:upgrade | upgrade the project |
yo alinw:help | print help info |
gulp | run build |
gulp newbranch | create a new branch |
gulp server | start a server |
gulp publish | do publish |
Add New Project Template
- Copy files into a new template folder.
- Add
before-writing.js
if you have something to do before writing files. - Add
after-writing.js
if you have something to do after writing files. - Add
.editorconfig
file to new project.