grunt uglify task에 handlebars 추가

This commit is contained in:
bnu 2014-11-29 16:22:14 +09:00
parent a7bab7c926
commit 8f0056b659
2 changed files with 26 additions and 8 deletions

View file

@ -50,6 +50,15 @@ module.exports = function(grunt) {
'common/js/xe.min.js': ['common/js/xe.js']
}
},
'handlebars': {
options: {
sourceMap: true
},
files: {
'common/js/plugins/handlebars/handlebars.min.js': ['common/js/plugins/handlebars/handlebars.js'],
'common/js/plugins/handlebars.runtime/handlebars.runtime.min.js': ['common/js/plugins/handlebars.runtime/handlebars.runtime.js'],
}
},
'modules': {
files: {
'common/js/x.min.js' : ['common/js/x.js'],

View file

@ -1,14 +1,23 @@
{
"name": "XpressEngine",
"author": "NAVER",
"license": "GNU LGPL",
"repository": {
"type": "git",
"url": "git://github.com/xpressengine/xe-core.git"
},
"bugs": {
"url": "https://github.com/xpressengine/xe-core/issues"
},
"devDependencies": {
"grunt": ">0.4.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-jshint": "~0.7.1",
"grunt-contrib-csslint": "*",
"grunt-contrib-cssmin": "~0.7.0",
"grunt-contrib-uglify": "~0.2.7",
"grunt-contrib-concat": "~0.3.0",
"grunt-phplint": "0.0.5"
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-concat": "^0.3.0",
"grunt-contrib-csslint": "~0.3.0",
"grunt-contrib-cssmin": "^0.7.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "^0.4.1",
"grunt-phplint": "~0.0.3"
},
"main": "Gruntfile.js",
"scripts": {