Skip to content

greeneryhu/grunt-tbf2e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grunt-tbf2e

一个前端的Build工具集合

如何开始

在终端中cd到你的项目目录(你的grunt.js所在目录),然后使用npm install grunt-tbf2e来安装插件

然后在你的配置文件 grunt.js 中引入该插件:

grunt.loadNpmTasks('grunt-tbf2e');

Grunt的使用请参考

包含的插件

除了使用grunt的内置组件:

  • concat - Concatenate files.
  • init - Generate project scaffolding from a predefined template.
  • lint - Validate files with [JSHint][jshint].
  • min - Minify files with [UglifyJS][uglify].
  • qunit - Run [QUnit][qunit] unit tests in a headless [PhantomJS][phantom] instance.
  • server - Start a static web server.
  • test - Run unit tests with [nodeunit][nodeunit].
  • watch - Run predefined tasks whenever watched files change.

以外,tbf2e提供了以下额外组件:

复制文件到制定目录.

将LESS文件编译为CSS.

在你的项目中使用Compass(SASS)

对CSS文件进行压缩.

对遵循KISSY 1.2 的包规范的脚本文件进行打包

License

Copyright (c) 2012 neekey
Licensed under the MIT license.

About

一个前端的Build工具集合

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published