forked from nodejs/iojs.org
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
42 lines (41 loc) · 829 Bytes
/
config.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
var dest = './public';
var src = './source';
var content = './content';
module.exports = {
copyStatic: {
src: src + '/static/**/*',
},
stylus: {
src: src + '/styles/**/*.styl',
dest: dest,
settings: {
// put stylus settings here
}
},
templates: {
templateSrc: src + '/templates/**/*.html',
contentSrc: content + '/**/*.{html,md}',
templateJSONsrc: content + '/**/template.json',
dest: dest
},
images: {
src: dest + '/img/**',
dest: dest + '/img'
},
del: {
files: [
dest + '/**/*.html',
dest + '/**/*.js',
dest + '/**/*.css',
'!'+ dest + '/index.html',
'!'+ dest + '/es6.html',
'!'+ dest + '/faq.html',
]
},
cssSrc: dest + '/*.css',
htmlSrc: dest + '/**/*.html',
dest: dest,
server: {
port: 4657
}
};