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