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.

44 lines
726 B

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