gulpfile.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. const gulp = require('gulp');
  2. const shell = require('gulp-shell');
  3. const path = require('path');
  4. const config = {
  5. staticCdn: 'https://s.gjcdn.net',
  6. injectVersion: 2,
  7. sections: {
  8. app: {
  9. title: 'Game Jolt - Games for the love of it',
  10. server: true,
  11. client: true,
  12. crawl: true,
  13. offline: true,
  14. webAppManifest: {
  15. name: 'Game Jolt',
  16. short_name: 'Game Jolt',
  17. description: 'Games for the love of it!',
  18. background_color: '#191919',
  19. theme_color: '#191919',
  20. display: 'standalone',
  21. start_url: './?utm_source=web_app_manifest',
  22. icons: [
  23. {
  24. src: 'icon-128x128.png',
  25. size: 128,
  26. },
  27. {
  28. src: 'icon-144x144.png',
  29. size: 144,
  30. },
  31. {
  32. src: 'chrome-touch-icon-192x192.png',
  33. size: 192,
  34. },
  35. ],
  36. },
  37. },
  38. auth: {
  39. title: 'Game Jolt - Games for the love of it',
  40. server: true,
  41. client: true,
  42. crawl: true,
  43. bodyClass: 'fill-darkest',
  44. },
  45. claim: {
  46. title: 'Claim - Game Jolt',
  47. },
  48. 'site-editor': {
  49. title: 'Edit Site - Game Jolt',
  50. },
  51. gameserver: {
  52. title: 'Playing Game - Game Jolt',
  53. },
  54. client: {
  55. title: 'Game Jolt',
  56. client: true,
  57. bodyClass: 'fill-darkest',
  58. },
  59. 'widget-package': {
  60. title: 'Get Game from Game Jolt',
  61. },
  62. z: {
  63. title: 'Game Jolt - Games for the love of it',
  64. bodyClass: 'main-body',
  65. },
  66. },
  67. translations: 'site-translations',
  68. translationSections: {
  69. auth: ['auth/'],
  70. dash: [
  71. 'app/components/forms/dashboard',
  72. 'app/components/forms/site-analytics',
  73. 'app/views/dashboard',
  74. ],
  75. checkout: ['checkout/'],
  76. claim: ['claim/'],
  77. },
  78. };
  79. require('./gulp/tasks/common')(config, __dirname);