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.

50 lines
886 B

  1. var
  2. path = require('path'),
  3. fs = require('fs'),
  4. defaults = require('./defaults')
  5. ;
  6. module.exports = {
  7. del: {
  8. silent : true
  9. },
  10. minify: {
  11. processImport : false,
  12. keepSpecialComments : 0
  13. },
  14. uglify: {
  15. mangle : true
  16. },
  17. prefix: {
  18. browsers: [
  19. 'last 2 version',
  20. '> 1%',
  21. 'opera 12.1',
  22. 'safari 6',
  23. 'ie 9',
  24. 'bb 10',
  25. 'android 4'
  26. ]
  27. },
  28. header: {
  29. title : defaults.title,
  30. repository : defaults.repository,
  31. url : defaults.url
  32. },
  33. sourcemap: {
  34. includeContent : true,
  35. sourceRoot : '/src'
  36. },
  37. rename: {
  38. json : { extname : '.json' },
  39. minJS : { extname : '.min.js' },
  40. minCSS : { extname : '.min.css' }
  41. },
  42. wrench: {
  43. recursive: {
  44. forceDelete : false,
  45. excludeHiddenUnix : true,
  46. preserveFiles : true
  47. }
  48. }
  49. };