node project generator of huangjinlin 416921332@qq.com
- set project name
- select use express
- force use eslint
- auto install package
First, install Yeoman and generator-node-hjl using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-node-hjl
Then generate your new project:
yo node-hjl
npm publish
npm config set registry http://registry.npm.taobao.org/
# or
npm config set registry https://registry.npmjs.org/