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.
53 lines
960 B
53 lines
960 B
|
|
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' }
|
|
},
|
|
wrench: {
|
|
recursive: {
|
|
forceDelete : true,
|
|
excludeHiddenUnix : true,
|
|
preserveFiles : true
|
|
}
|
|
}
|
|
};
|