From 7da57901dd4e01264bd0b53e4b4dcd604cb766bb Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 3 Nov 2015 20:29:19 +0100 Subject: [PATCH] fix dep --- index.js | 1 - package.json | 5 +++-- test.js | 4 ++-- ts/index.ts | 1 - ts/test.ts | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index ca15358..4d05dfc 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ /// var path = require("path"); -var pr = require("pushrocks"); var fs = require("fs"); var smartfile = { //read File to string diff --git a/package.json b/package.json index 4f64118..0f459a5 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,11 @@ }, "homepage": "https://github.com/pushrocks/smartfile", "dependencies": { - "pushrocks": "^1.0.18" + "beautylog": "^1.0.2" }, "devDependencies": { "gulp": "3.9.0", - "gulp-typescript": "2.9.2" + "gulp-typescript": "2.9.2", + "pushrocks": "^1.0.19" } } diff --git a/test.js b/test.js index 9e5b3e4..32fb94e 100644 --- a/test.js +++ b/test.js @@ -1,4 +1,4 @@ /// var smartfile = require("./index.js"); -var pr = require("pushrocks"); -pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); +var beautylog = require("beautylog")("os"); +beautylog.info(smartfile.readFileToString("./test/mytest.txt")); diff --git a/ts/index.ts b/ts/index.ts index 44778d4..ff715ac 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,6 +1,5 @@ /// var path = require("path"); -var pr = require("pushrocks"); var fs = require("fs"); var smartfile:any = { diff --git a/ts/test.ts b/ts/test.ts index b92805f..8c3794b 100644 --- a/ts/test.ts +++ b/ts/test.ts @@ -1,4 +1,4 @@ /// var smartfile = require("./index.js"); -var pr = require("pushrocks") -pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); \ No newline at end of file +var beautylog = require("beautylog")("os"); +beautylog.info(smartfile.readFileToString("./test/mytest.txt")); \ No newline at end of file