https://github.com/andycall/gruntfile
Grunt 自动化配置
https://github.com/andycall/gruntfile
Last synced: about 1 year ago
JSON representation
Grunt 自动化配置
- Host: GitHub
- URL: https://github.com/andycall/gruntfile
- Owner: andycall
- Created: 2015-02-10T09:45:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-10T09:55:46.000Z (over 11 years ago)
- Last Synced: 2024-10-19T04:30:58.470Z (over 1 year ago)
- Language: CSS
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GruntFile
Grunt 自动化配置
### 安装
```
npm install
```
具有3个任务
```
grunt
```
先编译src下面less和js文件, 保留文件注释, 和回车。 便于开发, 然后开启browserSync
```
grunt build
```
只开启进行文件编译
```
grunt publish
```
压缩css和js文件,移除所有的注释。