PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@expo/cli/build/src/utils
Просмотр файла: env.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.env = void 0;
var _getenv = require("getenv");
// @expo/webpack-config -> expo-pwa -> @expo/image-utils: EXPO_IMAGE_UTILS_NO_SHARP
// TODO: EXPO_CLI_USERNAME, EXPO_CLI_PASSWORD
class Env {
/** Enable profiling metrics */ get EXPO_PROFILE() {
return (0, _getenv).boolish("EXPO_PROFILE", false);
}
/** Enable debug logging */ get EXPO_DEBUG() {
return (0, _getenv).boolish("EXPO_DEBUG", false);
}
/** Enable the beta version of Expo (TODO: Should this just be in the beta version of expo releases?) */ get EXPO_BETA() {
return (0, _getenv).boolish("EXPO_BETA", false);
}
/** Enable staging API environment */ get EXPO_STAGING() {
return (0, _getenv).boolish("EXPO_STAGING", false);
}
/** Enable local API environment */ get EXPO_LOCAL() {
return (0, _getenv).boolish("EXPO_LOCAL", false);
}
/** Is running in non-interactive CI mode */ get CI() {
return (0, _getenv).boolish("CI", false);
}
/** Disable telemetry (analytics) */ get EXPO_NO_TELEMETRY() {
return (0, _getenv).boolish("EXPO_NO_TELEMETRY", false);
}
/** local directory to the universe repo for testing locally */ get EXPO_UNIVERSE_DIR() {
return (0, _getenv).string("EXPO_UNIVERSE_DIR", "");
}
/** @deprecated Default Webpack host string */ get WEB_HOST() {
return (0, _getenv).string("WEB_HOST", "0.0.0.0");
}
/** Skip warning users about a dirty git status */ get EXPO_NO_GIT_STATUS() {
return (0, _getenv).boolish("EXPO_NO_GIT_STATUS", false);
}
/** Disable auto web setup */ get EXPO_NO_WEB_SETUP() {
return (0, _getenv).boolish("EXPO_NO_WEB_SETUP", false);
}
/** Disable auto TypeScript setup */ get EXPO_NO_TYPESCRIPT_SETUP() {
return (0, _getenv).boolish("EXPO_NO_TYPESCRIPT_SETUP", false);
}
/** Disable all API caches. Does not disable bundler caches. */ get EXPO_NO_CACHE() {
return (0, _getenv).boolish("EXPO_NO_CACHE", false);
}
/** Enable the experimental interstitial app select page. */ get EXPO_ENABLE_INTERSTITIAL_PAGE() {
return (0, _getenv).boolish("EXPO_ENABLE_INTERSTITIAL_PAGE", false);
}
/** The React Metro port that's baked into react-native scripts and tools. */ get RCT_METRO_PORT() {
return (0, _getenv).int("RCT_METRO_PORT", 0);
}
/** Skip validating the manifest during `export`. */ get EXPO_SKIP_MANIFEST_VALIDATION_TOKEN() {
return !!(0, _getenv).string("EXPO_SKIP_MANIFEST_VALIDATION_TOKEN");
}
}
const env = new Env();
exports.env = env;
//# sourceMappingURL=env.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!