update dependencies and add caret to npmts dependency

This commit is contained in:
Philipp Kunz 2016-04-05 12:34:03 +02:00
parent 9e229eee85
commit 7f10392757
4 changed files with 5 additions and 13 deletions

View File

@ -21,14 +21,11 @@
}, },
"homepage": "https://github.com/pushrocks/smartenv", "homepage": "https://github.com/pushrocks/smartenv",
"dependencies": { "dependencies": {
"beautylog": "^4.1.2",
"lodash": "^4.8.1", "lodash": "^4.8.1",
"q": "^1.4.1" "q": "^1.4.1"
}, },
"devDependencies": { "devDependenies": {
"beautylog": "4.1.2", "npmts": "^5.0.3"
"easyserve": "0.0.5",
"gulp": "^3.9.1",
"gulp-browser": "2.0.0",
"npmts": "5.0.3"
} }
} }

View File

@ -1,9 +1,7 @@
/// <reference path="../ts/typings/main.d.ts" /> /// <reference path="../ts/typings/main.d.ts" />
var smartenv = require("../dist/index.js"); var smartenv = require("../dist/index.js");
var beautylog = require("beautylog"); var beautylog = require("beautylog");
beautylog.info("Now testing the smartenv module");
smartenv.printEnv(); smartenv.printEnv();
beautylog.info("Now testing the smartenv module");
//test smartenv.obs.add //test smartenv.obs.add
smartenv.obs.add("myTestObject", { key1: "Peter" }); smartenv.obs.add("myTestObject", { key1: "Peter" });
smartenv.obs.add("myTestObject", { key1: "Klaus" }); //now trying to add a second smartenv.obs.add("myTestObject", { key1: "Klaus" }); //now trying to add a second
@ -19,5 +17,4 @@ var key2 = "hello";
smartenv.obs.get("myTestObject").key2 = key2; smartenv.obs.get("myTestObject").key2 = key2;
beautylog.log(smartenv.obs.get("myTestObject").key2); beautylog.log(smartenv.obs.get("myTestObject").key2);
beautylog.success("Success!"); beautylog.success("Success!");
//# sourceMappingURL=test.js.map
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0RBQWdEO0FBQ2hELElBQUksUUFBUSxHQUFHLE9BQU8sQ0FBQyxrQkFBa0IsQ0FBQyxDQ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FwiLHtrZXkxOlwiS2xhdXNcIn0pOyAvL25vdyB0cnlpbmcgdG8gYWRkIGEgc2Vjb25kXG5zbWFydGVudi5wcmludEVudigpO1xuYmVhdXR5bG9nLmxvZyhzbWFydGVudi5vYnMuZ2V0KFwibXlUZXN0T2JqZWN0XCIpLmtleTEpOyAvLyB0aGlzIHNob3VsZCBiZSBQZXRlclxuXG4vL3Rlc3Qgc21hcnRlbnYub2JzLnJlcGxhY2VcbnNtYXJ0ZW52Lm9icy5yZXBsYWNlKFwibXlUZXN0T2JqZWN0XCIse2tleTE6XCJLbGF1c1wifSk7XG5iZWF1dHlsb2cubG9nKHNtYXJ0ZW52Lm9icy5nZXQoXCJteVRlc3RPYmplY3RcIikua2V5MSk7IC8vIHRoaXMgc2hvdWxkIGJlIEtsYXVzXG5cbi8vdGVzdCBzbWFydGVudi5vYnMubWVyZ2VcbnNtYXJ0ZW52Lm9icy5tZXJnZShcIm15VGVzdE9iamVjdFwiLHtrZXkyOlwiUGV0ZXJcIn0pO1xuYmVhdXR5bG9nLmxvZyhzbWFydGVudi5vYnMuZ2V0KFwibXlUZXN0T2JqZWN0XCIpLmtleTEgKyBzbWFydGVudi5vYnMuZ2V0KFwibXlUZXN0T2JqZWN0XCIpLmtleTIpOyAvLyB0aGlzIHNob3VsZCBiZSBLbGF1c1BldGVyXG5cbnZhciBrZXkyID0gXCJoZWxsb1wiO1xuc21hcnRlbnYub2JzLmdldChcIm15VGVzdE9iamVjdFwiKS5rZXkyID0ga2V5MjtcbmJlYXV0eWxvZy5sb2coc21hcnRlbnYub2JzLmdldChcIm15VGVzdE9iamVjdFwiKS5rZXkyKTtcblxuYmVhdXR5bG9nLnN1Y2Nlc3MoXCJTdWNjZXNzIVwiKTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=

View File

@ -1 +1 @@
{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,IAAI,QAAQ,GAAG,OAAO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AAC,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,4BAA4B;AAE1H,IAAI,IAAI,GAAG,OAAO,CAAC;AACnB,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC;AAC7C,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAErD,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC"}

View File

@ -1,9 +1,7 @@
/// <reference path="../ts/typings/main.d.ts" /> /// <reference path="../ts/typings/main.d.ts" />
var smartenv = require("../dist/index.js"); var smartenv = require("../dist/index.js");
var beautylog = require("beautylog"); var beautylog = require("beautylog");
beautylog.info("Now testing the smartenv module");
smartenv.printEnv(); smartenv.printEnv();
beautylog.info("Now testing the smartenv module");
//test smartenv.obs.add //test smartenv.obs.add
smartenv.obs.add("myTestObject",{key1:"Peter"}); smartenv.obs.add("myTestObject",{key1:"Peter"});