以nodejs为基础,gulp+webpack+typings搭建前端自动化模块,并采用bower进行包模块管理
- 'npm install -g gulp'
- 'npm install -g webpack'
- 'npm install -g bower'
- gulp start 启动项目
- browser-sync 启动服务器
- watch 监听修改
- sass scss翻译
- html 静态模板渲染
- gulp test js和css检查
- jshint js校验
- css-lint css校验
- gulp 生成压缩包
- image 图片压缩
- dist js和css压缩及生成压缩包
- 'npm install'
- 'bower install'
- 'gulp start'
- 'npm install -g typescript typings'
- 'npm link typescript'