2019-11-09 14:42:02 +02:00
|
|
|
/* eslint-env node */
|
2020-05-27 13:07:25 +03:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
|
|
|
2019-11-09 14:42:02 +02:00
|
|
|
require('dotenv').config();
|
|
|
|
|
|
|
|
const { env } = process;
|
|
|
|
|
|
|
|
module.exports = {
|
2020-05-24 02:08:24 +03:00
|
|
|
version: env.VERSION || env.NODE_ENV,
|
|
|
|
apiHost: env.API_HOST || 'https://dev.account.ely.by',
|
|
|
|
ga: env.GA_ID && { id: env.GA_ID },
|
|
|
|
sentryDSN: env.SENTRY_DSN,
|
2020-05-27 13:07:25 +03:00
|
|
|
crowdin: {
|
|
|
|
apiKey: env.CROWDIN_API_KEY,
|
|
|
|
projectId: 350687,
|
|
|
|
filePath: 'accounts/site.json',
|
|
|
|
sourceLang: 'en',
|
2020-06-15 00:22:19 +03:00
|
|
|
basePath: `${__dirname}/packages/app/i18n`,
|
2020-05-27 13:07:25 +03:00
|
|
|
minApproved: 80, // Minimal ready percent before translation can be published
|
|
|
|
},
|
2019-11-09 14:42:02 +02:00
|
|
|
};
|