-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_path.js
66 lines (65 loc) · 1.9 KB
/
config_path.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
const path = {
build: {
html: './build/',
css: './build/common/css/',
js: './build/common/js/',
img: './build/common/img/',
svg: './build/common/img/svg/',
svg_font: './build/common/fonts/iconfont/',
fonts: './build/common/fonts/',
data: './tmp/'
},
src: {
jade: './src/*.jade',
html: './src/*.html',
js: './src/js/*.js',
styleStylus: './src/css/main.styl',
stylusBlocks: './src/blocks/**/*.styl',
styleStylusVendor: './src/css/vendor.styl',
img: ['./src/img/**/*.{png,jpg,ico}', './src/img/**/manifest.json'],
svg: './src/img/svg/*.svg',
svg_icons: './src/img/svg_icons/*.svg',
svg_css_tpl: './tmp/iconfont_tpl.css',
svg_css: '../../../../tmp/iconfont.css',
fonts: './src/fonts/**/*.*',
data: './src/blocks/**/data.js'
},
assets: {
js: {
src: ['./src/vendor/bower_components/jquery/dist/jquery.min.js'],
dest: './build/common/js/'
},
fonts: {
src: ['./src/vendor/bower_components/bootstrap/dist/fonts/*.*'],
dest: './build/common/fonts/'
}
},
zip: {
src: './build/**/*.*',
dest: './archives/'
},
watch: {
jade: './src/**/*.jade',
js: './src/js/*.js',
html: './src/*.html',
styleStylus: './src/**/*.{styl,css}',
img: './src/img/**/*.{png,jpg,ico}',
svg_icons: './src/img/svg_icons/*.svg',
svg: 'src/img/svg/*.svg',
fonts: 'src/fonts/**/*.*',
server: 'build/**/*.*',
data: './src/blocks/**/data.js'
},
server: {
dest: 'build/'
},
clean: './build',
ssh: {
host: '188.166.6.60',
user: 'root',
keyPath: '/.ssh/key',
remotePath: '/var/www/static/',
src: './build/**/*.*'
}
};
module.exports = path;