@stacks/cli
Version:
Stacks command line tool
26 lines • 813 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLIMain = void 0;
const cli_1 = require("./cli");
Object.defineProperty(exports, "CLIMain", { enumerable: true, get: function () { return cli_1.CLIMain; } });
const localStorageRAM = {};
global['window'] = {
location: {
origin: 'localhost',
},
localStorage: {
getItem: function (itemName) {
return localStorageRAM[itemName];
},
setItem: function (itemName, itemValue) {
localStorageRAM[itemName] = itemValue;
},
removeItem: function (itemName) {
delete localStorageRAM[itemName];
},
},
};
global['localStorage'] = global['window'].localStorage;
(0, cli_1.CLIMain)();
//# sourceMappingURL=index.js.map