/
.demosrc.js
39 lines (39 loc) · 1.21 KB
/
.demosrc.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
export default {
devServer: {
port: 9090,
},
output: {
dir: 'docs/demo',
publicUrl: '.',
html: {
title: 'SpriteJS/next - The next generation of spritejs.'
},
},
// themeFile: 'demos/theme.scss',
staticFolder: 'dist',
demoList: '.demoList.json',
name: 'SPRITEJS',
version: 'next',
homePage: global.top == null || global.top === global ?
'https://github.com/spritejs/spritejs' : location.top,
logo: '',
// 可选主题: active4d, allHallowsEve, amy, blackboard, brillianceBlack,
// brillianceDull, chromeDevtools, cloudsMidnight, clouds, cobalt,
// dawn, dreamweaver, eiffel, espressoLibre, github, idle, katzenmilch,
// kuroirTheme, lazy, magicwbAmiga, merbivoreSoft, merbivore, monokai,
// pastelsOnDark, slushAndPoppies, solarizedDark, solarizedLight,
// spacecadet, sunburst, textmateMacClassic, tomorrowNightBlue,
// tomorrowNightBright, tomorrowNightEighties, tomorrowNight, tomorrow,
// twilight, vibrantInk, zenburnesque, iplastic, idlefingers, krtheme,
// monoindustrial,
boxTheme: 'monokai',
globalPackages: {
js: ['./spritejs.js'],
css: [],
},
// tab waterfall
editorViewMode: 'tab',
editorOptions: {
disableLayerHinting: true,
}
};