Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andycall/gruntfile
Grunt 自动化配置
https://github.com/andycall/gruntfile
Last synced: 18 days ago
JSON representation
Grunt 自动化配置
- Host: GitHub
- URL: https://github.com/andycall/gruntfile
- Owner: andycall
- Created: 2015-02-10T09:45:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-10T09:55:46.000Z (over 9 years ago)
- Last Synced: 2024-10-09T04:42:21.431Z (28 days 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文件,移除所有的注释。