-
Notifications
You must be signed in to change notification settings - Fork 35
/
lumen-ios.js
59 lines (57 loc) · 1.66 KB
/
lumen-ios.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
/*!
* Copyright (c) 2014-present Cliqz GmbH. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
const publish = require('./common/publish');
const urls = require('./common/urls-lumen');
module.exports = {
platform: 'react-native',
format: 'common',
baseURL: '/',
testsBasePath: './build/modules',
testem_launchers: ['unit-node'],
testem_launchers_ci: ['unit-node'],
versionPrefix: '13',
// pack changes the name in package.json before running npm pack
pack: [
`(jq '.name=\\"browser-core-lumen-ios\\" | .version=\\"${process.env.VERSION}\\"' package.json > package-new.json)`,
'mv package.json package-old.json',
'mv package-new.json package.json',
'npm pack',
'mv package-old.json package.json',
].join(' && '),
publish: publish.toEdge('browser-core-lumen-ios', 'lumen-ios'),
isMobile: true,
settings: Object.assign({}, urls, {
ALLOWED_COUNTRY_CODES: ['de', 'at', 'ch', 'es', 'us', 'fr', 'nl', 'gb', 'it', 'se'],
RESULTS_PROVIDER_ORDER: ['calculator', 'history', 'cliqz', 'querySuggestions'],
CLEAR_RESULTS_AT_SESSION_START: false,
'search.config.providers.instant.isEnabled': false,
telemetry: {
demographics: {
brand: 'cliqz',
name: 'lumen',
platform: 'ios',
},
},
}),
modules: [
'core',
'search',
'video-downloader',
'anolysis',
'insights',
'geolocation',
],
bundles: [
],
resources: {
bundling: 'assets',
include: [
'core/logo-database.json',
]
}
};