1.0.4 • Published 5 years ago

tb-gulp v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

前端开发、打包工具,适用于非模块化的传统项目开发和打包

使用 1.0.3

使用命令行

创建一个新项目
$ npm install -g tb-gulp
$ tb new -n <dir>
$ cd dir 
$ npm install
$ creat index.html
$ tb start / tb build        

creat index.html 需手动创建并没有creat命令

已有项目需要调试打包
$ tb init
$ npm install
$ tb start  / tb build    
帮助命令
$ tb -v
$ tb -h

模板

- demo
  - src
    -index.html
  - package.json
  -.babelrc
  - gulpConfig

使用

1.0.4

修改记录:解决文件不存在任务不执行问题 修改new命令 script添加脚本 gulpConfig修改为config

使用命令行

创建一个新项目
$ npm install -g tb-gulp
$ tb new <dir> / tb new <dir> -e / tb new <dir> -easy  (-e --easy 将省略package.json自定义)
$ cd dir 
$ npm install 
$ creat index.html
$ tb start / npm start / npm run start  
$ tb build / npm run build       

creat index.html 需手动创建并没有creat命令

已有项目需要调试打包
$ tb init
$ npm install
$ tb start  / tb build    
帮助命令
$ tb -v
$ tb -h

模板

- demo
  - src
    -index.html
  - package.json
  -.babelrc
  - gulpConfig