-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.config.js
executable file
·32 lines (31 loc) · 1.01 KB
/
app.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
const SCOPE = 'devtools';
module.exports = (config) => {
const { env } = config.utils;
const { publicAddress } = config.app;
return {
devtools: {
repository: {
link: env.get('FILES_URL', SCOPE) || `${publicAddress}/api/v1/devtools/files/open`,
type: env.get('FILES_TYPE', SCOPE),
},
postman: {
key: env.get('POSTMAN_KEY', SCOPE),
},
cleanOnBoot: env.get('CLEAN_ON_BOOT', SCOPE),
addExcluded: env.get('DOC_ADD_EXCLUDED', SCOPE),
translate: {
key: env.get('TRANSLATE_KEY', SCOPE),
engine: env.get('TRANSLATE_ENGINE', SCOPE),
from: env.get('TRANSLATE_BASE_LANGUAGE', SCOPE),
},
addIamToGuest: env.get('ADD_IAM_TO_GUEST', SCOPE),
displayEnvVars: env.get('DISPLAY_VARIABLE', SCOPE),
npm: {
registry: env.get('NPM_REGISTRY', SCOPE),
username: env.get('NPM_USERNAME', SCOPE),
password: env.get('NPM_PASSWORD', SCOPE),
dryRun: env.get('NPM_DRY_RUN', SCOPE),
},
},
};
};