update to commonjs module structure

This commit is contained in:
2016-02-17 21:44:40 +01:00
parent 1d488c308e
commit 340e971738
46 changed files with 6257 additions and 341 deletions

View File

@@ -1,16 +1,10 @@
/// <reference path="typings/tsd.d.ts" />
/// <reference path="smartenv.classes.ts" />
/// <reference path="smartenv.environment.ts" />
/// <reference path="smartenv.objectstorage.ts" />
var plugins = {
beautylog: require("beautylog")("os"),
_: require("lodash")
}
/// <reference path="typings/main.d.ts" />
import SmartenvEnvironment = require("./smartenv.environment");
import SmartenvObjectStorage = require("./smartenv.objectstorage");
var smartenv:any = {}; //create smartenv object
SmartenvEnvironment.init(smartenv);
smartenv.obs = SmartenvObjectStorage.init();
smartenv.obs = SmartenvObjectStorage.obs;
module.exports = smartenv;
export = smartenv;