accounts-frontend/config.js

22 lines
620 B
JavaScript
Raw Permalink Normal View History

2019-11-09 18:12:02 +05:30
/* eslint-env node */
/* eslint-disable @typescript-eslint/no-var-requires */
2019-11-09 18:12:02 +05:30
require('dotenv').config();
const { env } = process;
module.exports = {
2020-05-24 04:38:24 +05:30
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,
crowdin: {
apiKey: env.CROWDIN_API_KEY,
projectId: 350687,
filePath: 'accounts/site.json',
sourceLang: 'en',
2020-06-15 02:52:19 +05:30
basePath: `${__dirname}/packages/app/i18n`,
minTranslated: 80, // Minimal ready percent before translation can be published
},
2019-11-09 18:12:02 +05:30
};