tpm项目构建工具
==================
安装
npm install tpm
快速构建项目
- 安装成功后在项目目录运行
tpm
打包工具选择
grunt
-
grunt demo
—— 运行demo http://127.0.0.1:5888/demo/index.html -
grunt build
—— 打包压缩 -
grunt watch
—— 监听动态编译文件,如less ,scss -
grunt jsdoc
—— 生成jsdoc 查看地址http://127.0.0.1:5888/demo/doc/index.html
gulp
-
gulp demo
—— 运行demo http://127.0.0.1:5888/demo/index.html -
gulp watch
—— 监听动态编译文件,如less ,scss -
gulp jsdoc
—— 生成jsdoc 查看地址http://127.0.0.1:5888/demo/doc/index.html -
gulp
—— 全部打包