@tecfancy/init
Version:
16 lines • 886 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NODE_MODULES_DIR = exports.CACHE_DIR = exports.DOTENV_PATH = exports.DEFAULT_CLI_HOME = void 0;
const path_1 = __importDefault(require("path"));
const os_1 = require("os");
// configure the directory path of the configuration file
exports.DEFAULT_CLI_HOME = path_1.default.join((0, os_1.homedir)(), ".config", "tecfancy");
// environment configuration file path
exports.DOTENV_PATH = path_1.default.join(exports.DEFAULT_CLI_HOME, ".env");
// cache directory path
exports.CACHE_DIR = path_1.default.join(exports.DEFAULT_CLI_HOME, "cache");
exports.NODE_MODULES_DIR = path_1.default.join(exports.DEFAULT_CLI_HOME, "node_modules");
//# sourceMappingURL=const.js.map