reverse to ES5
This commit is contained in:
parent
f295776bea
commit
98d6f9e483
9
dist/index.d.ts
vendored
9
dist/index.d.ts
vendored
@ -1,7 +1,4 @@
|
||||
import * as classes from './smartenv.classes';
|
||||
declare let smartenv: {
|
||||
getEnv: () => classes.Environment;
|
||||
printEnv: () => void;
|
||||
obs: any;
|
||||
};
|
||||
export = smartenv;
|
||||
export declare let getEnv: () => classes.Environment;
|
||||
export declare let printEnv: () => void;
|
||||
export declare let obs: any;
|
||||
|
11
dist/index.js
vendored
11
dist/index.js
vendored
@ -1,10 +1,7 @@
|
||||
"use strict";
|
||||
const SmartenvEnvironment = require("./smartenv.environment");
|
||||
const SmartenvObjectstorage = require("./smartenv.objectstorage");
|
||||
let smartenv = {
|
||||
getEnv: SmartenvEnvironment.getEnv,
|
||||
printEnv: SmartenvEnvironment.printEnv,
|
||||
obs: SmartenvObjectstorage.obs
|
||||
}; // create smartenv object
|
||||
module.exports = smartenv;
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUEsOERBQTZEO0FBQzdELGtFQUFpRTtBQUVqRSxJQUFJLFFBQVEsR0FBRztJQUNYLE1BQU0sRUFBRSxtQkFBbUIsQ0FBQyxNQUFNO0lBQ2xDLFFBQVEsRUFBRSxtQkFBbUIsQ0FBQyxRQUFRO0lBQ3RDLEdBQUcsRUFBRSxxQkFBcUIsQ0FBQyxHQUFHO0NBQ2pDLENBQUEsQ0FBQyx5QkFBeUI7QUFFM0IsaUJBQVMsUUFBUSxDQUFBIn0=
|
||||
exports.getEnv = SmartenvEnvironment.getEnv;
|
||||
exports.printEnv = SmartenvEnvironment.printEnv;
|
||||
exports.obs = SmartenvObjectstorage.obs;
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUEsOERBQTZEO0FBQzdELGtFQUFpRTtBQUV0RCxRQUFBLE1BQU0sR0FBRyxtQkFBbUIsQ0FBQyxNQUFNLENBQUE7QUFDbkMsUUFBQSxRQUFRLEdBQUcsbUJBQW1CLENBQUMsUUFBUSxDQUFBO0FBQ3ZDLFFBQUEsR0FBRyxHQUFHLHFCQUFxQixDQUFDLEdBQUcsQ0FBQSJ9
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"mode":"default",
|
||||
"coverageTreshold":75
|
||||
"coverageTreshold":75,
|
||||
"tsOptions": {
|
||||
"target": "ES5"
|
||||
}
|
||||
}
|
10
ts/index.ts
10
ts/index.ts
@ -3,10 +3,6 @@ import * as classes from './smartenv.classes'
|
||||
import * as SmartenvEnvironment from './smartenv.environment'
|
||||
import * as SmartenvObjectstorage from './smartenv.objectstorage'
|
||||
|
||||
let smartenv = {
|
||||
getEnv: SmartenvEnvironment.getEnv,
|
||||
printEnv: SmartenvEnvironment.printEnv,
|
||||
obs: SmartenvObjectstorage.obs
|
||||
} // create smartenv object
|
||||
|
||||
export = smartenv
|
||||
export let getEnv = SmartenvEnvironment.getEnv
|
||||
export let printEnv = SmartenvEnvironment.printEnv
|
||||
export let obs = SmartenvObjectstorage.obs
|
||||
|
Loading…
x
Reference in New Issue
Block a user