aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils/configs.ts
blob: b6b6e2c5ee25f43ffb5cdda5e67fa2042497cc33 (plain) (blame)
1
2
3
4
5
6
7
8
9
const IS_LOCAL_PUBLISH = process.env.IS_LOCAL_PUBLISH === 'true';
const LOCAL_NPM_REGISTRY_URL = 'http://localhost:4873';
const REMOTE_NPM_REGISTRY_URL = 'https://registry.npmjs.org';

export const configs = {
    IS_LOCAL_PUBLISH,
    NPM_REGISTRY_URL: IS_LOCAL_PUBLISH ? LOCAL_NPM_REGISTRY_URL : REMOTE_NPM_REGISTRY_URL,
    DOCKER_HUB_ORG: '0xorg',
};