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.
51 lines
886 B
51 lines
886 B
|
|
var
|
|
path = require('path'),
|
|
fs = require('fs'),
|
|
defaults = require('./defaults')
|
|
;
|
|
|
|
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,
|
|
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 : false,
|
|
excludeHiddenUnix : true,
|
|
preserveFiles : true
|
|
}
|
|
}
|
|
};
|