grunt第一次配置

package.json

 

 1 {
 2   "name": "fortest",
 3   "title": "ForTest1",
 4   "description": "Library for composing asynchronous and event-based operations in JavaScript",
 5   "repository": {
 6     "type": "git",
 7     "url": "https://git.coding.net/konghao/fortest.git"
 8   },
 9   "license": "Apache-2.0",
10   "devDependencies": {
11     "grunt": "*",
12     "grunt-contrib-concat": "^1.0.1",
13     "grunt-contrib-jshint": "^1.0.0",
14     "grunt-contrib-uglify": "*",
15     "grunt-contrib-watch": "^1.0.0"
16   }
17 }

 

gruntfile.js

 

 1 {
 2   "name": "fortest",
 3   "title": "ForTest1",
 4   "description": "Library for composing asynchronous and event-based operations in JavaScript",
 5   "repository": {
 6     "type": "git",
 7     "url": "https://git.coding.net/konghao/fortest.git"
 8   },
 9   "license": "Apache-2.0",
10   "devDependencies": {
11     "grunt": "*",
12     "grunt-contrib-concat": "^1.0.1",
13     "grunt-contrib-jshint": "^1.0.0",
14     "grunt-contrib-uglify": "*",
15     "grunt-contrib-watch": "^1.0.0"
16   }
17 }

 

posted @ 2016-10-23 15:10  konghao  阅读(129)  评论(0编辑  收藏  举报