2016-04-04 16:24:22 +00:00
|
|
|
"use strict";
|
2017-04-19 18:02:43 +00:00
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2016-11-21 10:58:37 +00:00
|
|
|
const helpers = require("./smartenv.classes.helpers");
|
|
|
|
class Environment {
|
|
|
|
constructor() {
|
2016-02-20 09:11:25 +00:00
|
|
|
this.runtimeEnv = helpers.getEnvString();
|
|
|
|
this.isBrowser = helpers.isBrowser();
|
|
|
|
this.userAgent = helpers.getUserAgentString();
|
|
|
|
this.isNode = helpers.isNode();
|
|
|
|
this.nodeVersion = helpers.getNodeVersion();
|
|
|
|
this.isCI = helpers.isCI();
|
|
|
|
this.isTravis = helpers.isTravis();
|
2016-03-03 00:50:13 +00:00
|
|
|
this.isC9 = helpers.isC9();
|
2016-02-17 20:44:40 +00:00
|
|
|
}
|
|
|
|
;
|
2016-11-21 10:58:37 +00:00
|
|
|
}
|
2016-02-17 20:44:40 +00:00
|
|
|
exports.Environment = Environment;
|
2017-04-19 18:02:43 +00:00
|
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRlbnYuY2xhc3Nlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0ZW52LmNsYXNzZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzREFBc0Q7QUFFdEQ7SUFTSTtRQUNJLElBQUksQ0FBQyxVQUFVLEdBQUcsT0FBTyxDQUFDLFlBQVksRUFBRSxDQUFBO1FBQ3hDLElBQUksQ0FBQyxTQUFTLEdBQUcsT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFBO1FBQ3BDLElBQUksQ0FBQyxTQUFTLEdBQUcsT0FBTyxDQUFDLGtCQUFrQixFQUFFLENBQUE7UUFDN0MsSUFBSSxDQUFDLE1BQU0sR0FBRyxPQUFPLENBQUMsTUFBTSxFQUFFLENBQUE7UUFDOUIsSUFBSSxDQUFDLFdBQVcsR0FBRyxPQUFPLENBQUMsY0FBYyxFQUFFLENBQUE7UUFDM0MsSUFBSSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxFQUFFLENBQUE7UUFDMUIsSUFBSSxDQUFDLFFBQVEsR0FBRyxPQUFPLENBQUMsUUFBUSxFQUFFLENBQUE7UUFDbEMsSUFBSSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxFQUFFLENBQUE7SUFDOUIsQ0FBQztJQUFBLENBQUM7Q0FDTDtBQW5CRCxrQ0FtQkMifQ==
|