config.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. module.exports = {
  2. // Javascript
  3. JS_BUNDLE_NAMESPACE: '__FOUNDATION_EXTERNAL__',
  4. JS_FILES: [
  5. 'js/foundation.core.js',
  6. 'js/foundation.core.utils.js',
  7. 'js/foundation.util.*.js',
  8. 'js/*.js'
  9. ],
  10. JS_DEPS: [
  11. 'node_modules/jquery/dist/jquery.js',
  12. 'node_modules/motion-ui/dist/motion-ui.js',
  13. 'node_modules/what-input/dist/what-input.js'
  14. ],
  15. JS_DOCS: [
  16. 'node_modules/clipboard/dist/clipboard.js',
  17. 'node_modules/corejs-typeahead/dist/typeahead.bundle.js',
  18. 'node_modules/foundation-docs/js/**/*.js',
  19. 'docs/assets/js/docs.*.js',
  20. 'docs/assets/js/docs.js'
  21. ],
  22. // Sass
  23. SASS_DEPS_FILES: [
  24. 'node_modules/@(sassy-lists)/stylesheets/helpers/_missing-dependencies.scss',
  25. 'node_modules/@(sassy-lists)/stylesheets/helpers/_true.scss',
  26. 'node_modules/@(sassy-lists)/stylesheets/functions/_contain.scss',
  27. 'node_modules/@(sassy-lists)/stylesheets/functions/_purge.scss',
  28. 'node_modules/@(sassy-lists)/stylesheets/functions/_remove.scss',
  29. 'node_modules/@(sassy-lists)/stylesheets/functions/_replace.scss',
  30. 'node_modules/@(sassy-lists)/stylesheets/functions/_to-list.scss'
  31. ],
  32. SASS_DOC_PATHS: [
  33. 'scss',
  34. 'node_modules/motion-ui/src',
  35. 'node_modules/foundation-docs/scss'
  36. ],
  37. SASS_LINT_FILES: [
  38. 'scss/**/*.scss',
  39. ],
  40. // Assets
  41. ASSETS_FILES: [
  42. 'docs/assets/**/*',
  43. '!docs/assets/{js,scss}',
  44. '!docs/assets/{js,scss}/**/*'
  45. ],
  46. // Dist
  47. VERSIONED_FILES: [
  48. 'bower.json',
  49. 'composer.json',
  50. 'docs/pages/installation.md',
  51. 'js/foundation.core.js',
  52. 'meteor-README.md',
  53. 'package.js',
  54. 'package.json',
  55. 'scss/foundation.scss'
  56. ],
  57. DIST_FILES: [
  58. './_build/assets/css/foundation.css',
  59. './_build/assets/css/foundation.css.map',
  60. './_build/assets/css/foundation-float.css',
  61. './_build/assets/css/foundation-float.css.map',
  62. './_build/assets/css/foundation-prototype.css',
  63. './_build/assets/css/foundation-prototype.css.map',
  64. './_build/assets/css/foundation-rtl.css',
  65. './_build/assets/css/foundation-rtl.css.map',
  66. '_build/assets/js/foundation.js',
  67. '_build/assets/js/foundation.js.map',
  68. 'js/typescript/foundation.d.ts'
  69. ],
  70. // Tests
  71. TEST_JS_FILES: [
  72. 'test/javascript/core/**/*.js',
  73. 'test/javascript/util/**/*.js',
  74. 'test/javascript/components/**/*.js'
  75. ]
  76. };