You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
|
|
var
|
|
path = require('path'),
|
|
fs = require('fs'),
|
|
defaults = require('./defaults'),
|
|
package = require('../package.json')
|
|
;
|
|
|
|
module.exports = {
|
|
del: {
|
|
silent : true
|
|
},
|
|
minify: {
|
|
processImport : false,
|
|
keepSpecialComments : 0
|
|
},
|
|
uglify: {
|
|
mangle : true
|
|
},
|
|
prefix: {
|
|
browsers: [
|
|
'last 2 version',
|
|
'> 1%',
|
|
'opera 12.1',
|
|
'safari 6',
|
|
'ie 9',
|
|
'bb 10',
|
|
'android 4'
|
|
]
|
|
},
|
|
header: {
|
|
title : defaults.title,
|
|
version : package.version,
|
|
repository : defaults.repository,
|
|
url : defaults.url
|
|
},
|
|
sourcemap: {
|
|
includeContent : true,
|
|
sourceRoot : '/src'
|
|
},
|
|
rename: {
|
|
json : { extname : '.json' },
|
|
minJS : { extname : '.min.js' },
|
|
minCSS : { extname : '.min.css' },
|
|
rtlCSS : { extname : '.rtl.css' },
|
|
rtlMinCSS : { extname : '.rtl.min.css' }
|
|
},
|
|
wrench: {
|
|
recursive: {
|
|
forceDelete : true,
|
|
excludeHiddenUnix : true,
|
|
preserveFiles : true
|
|
}
|
|
}
|
|
};
|