mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-08 17:12:25 +05:30
22 lines
618 B
JavaScript
22 lines
618 B
JavaScript
/* eslint-env node */
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
|
|
require('dotenv').config();
|
|
|
|
const { env } = process;
|
|
|
|
module.exports = {
|
|
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',
|
|
basePath: `${__dirname}/packages/app/i18n`,
|
|
minApproved: 80, // Minimal ready percent before translation can be published
|
|
},
|
|
};
|