-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
30 lines (28 loc) · 890 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
'use strict';
var config = Object.freeze({
BROWSERIFY_BIN: __dirname + '/node_modules/.bin/browserify',
BUILD_PATH: 'output/',
BUNDLE_PATH: 'output/',
MINIFIED_PATH: 'output/',
HTML_MINIFIER_OPTIONS: {
removeComments: true,
removeCommentsFromCDATA: true,
collapseWhitespace: true,
minifyJS: true,
minifyCSS: true
},
TEMPLATE_PATH: __dirname + '/templates/',
PACKAGE_PREFIX: 'gardr-',
DEFAULT_PLUGINS_PATH: {
HOST: 'config/host-plugins-default.txt',
EXT: 'config/ext-plugins-default.txt'
},
VERSIONS: {
HOST: '1.0.0-alpha.1',
EXT: '1.0.0-alpha.3'
},
DEFAULT_ALLOWED_DOMAINS_PATH: 'config/ext-allowed-domains-default.txt',
IFRAME_ORIGINAL_PATH: 'node_modules/gardr-ext/iframe.html',
IFRAME_DESTINATION_PATH: 'output/iframe.html'
});
module.exports = config;