This repository has been archived by the owner on Jul 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
155 lines (120 loc) · 2.44 KB
/
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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
'use strict';
module.exports = function(config) {
/**
* The output directory.
*
* @property config.dest
* @type {String}
*/
config.dest = 'www';
/**
* Whether to inject cordova script
* into html.
*
* @property config.cordova
* @type {Boolean}
*/
config.cordova = true;
//
// Development web server
//
/**
* Development server config.
*
* @type {Boolean}
* @property config.server
*
* @example Disable development server
* config.server = false;
*/
/**
* The host name where to bind development server.
*
* @property config.server.host
* @type {String}
*/
config.server.host = '0.0.0.0';
/**
* The port where development server will to listen.
*
* @property config.server.port
* @type {String}
*/
config.server.port = '8000';
//
// Weinre Remote debug server
//
/**
* Weinre server config.
*
* @type {Boolean}
* @property config.weinre
*
* @example Disable weinre
* config.weinre = false;
*/
/**
* The host name to which weinre will be bound.
* @type {String}
*/
config.weinre.boundHost = 'localhost';
/**
* The port where weinre server will to listen.
* @type {String}
*/
config.weinre.httpPort = 8001;
//
// Sources
//
/**
* Less sources
*
* @property config.less.src
* @type {Array}
*
* @default
* ['./src/less/app.less', './src/less/responsive.less']
*/
// config.less.src.push('src/less/mystyle.less');
/**
* Less search paths
*
* @property config.less.paths
* @type {Array}
*
* @default
* ['./src/less', './bower_components']
*/
// config.less.paths.push('./vendor/less');
//
// 3rd party components
//
/**
* Vendor Javascripts
*
* @property config.vendor.js
* @type {Array}
*/
// config.vendor.js.push('.bower_components/mylib/mylib.js');
/**
* Vendor Fonts
*
* @property config.vendor.fonts
* @type {Array}
*/
// config.vendor.fonts.push('.bower_components/mylib/fonts/**/*');
/**
* Vendor Css (prepended on compile time)
*
* @property config.vendor.css.prepend
* @type {Array}
*/
// config.vendor.css.prepend.push('.bower_components/mylib/mylib.css');
/**
* Vendor Css (appended on compile time)
*
* @property config.vendor.css.append
* @type {Array}
*/
// config.vendor.css.append.push('.bower_components/mylib/mylib.css');
};