Compare commits

...

2 Commits

Author SHA1 Message Date
55ac57a122 0.0.6 2015-11-03 20:29:27 +01:00
7da57901dd fix dep 2015-11-03 20:29:19 +01:00
5 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,5 @@
/// <reference path="typings/tsd.d.ts" /> /// <reference path="typings/tsd.d.ts" />
var path = require("path"); var path = require("path");
var pr = require("pushrocks");
var fs = require("fs"); var fs = require("fs");
var smartfile = { var smartfile = {
//read File to string //read File to string

View File

@ -1,6 +1,6 @@
{ {
"name": "smartfile", "name": "smartfile",
"version": "0.0.5", "version": "0.0.6",
"description": "offers smart ways to work with files in nodejs", "description": "offers smart ways to work with files in nodejs",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -24,10 +24,11 @@
}, },
"homepage": "https://github.com/pushrocks/smartfile", "homepage": "https://github.com/pushrocks/smartfile",
"dependencies": { "dependencies": {
"pushrocks": "^1.0.18" "beautylog": "^1.0.2"
}, },
"devDependencies": { "devDependencies": {
"gulp": "3.9.0", "gulp": "3.9.0",
"gulp-typescript": "2.9.2" "gulp-typescript": "2.9.2",
"pushrocks": "^1.0.19"
} }
} }

View File

@ -1,4 +1,4 @@
/// <reference path="typings/tsd.d.ts" /> /// <reference path="typings/tsd.d.ts" />
var smartfile = require("./index.js"); var smartfile = require("./index.js");
var pr = require("pushrocks"); var beautylog = require("beautylog")("os");
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); beautylog.info(smartfile.readFileToString("./test/mytest.txt"));

View File

@ -1,6 +1,5 @@
/// <reference path="typings/tsd.d.ts" /> /// <reference path="typings/tsd.d.ts" />
var path = require("path"); var path = require("path");
var pr = require("pushrocks");
var fs = require("fs"); var fs = require("fs");
var smartfile:any = { var smartfile:any = {

View File

@ -1,4 +1,4 @@
/// <reference path="typings/tsd.d.ts" /> /// <reference path="typings/tsd.d.ts" />
var smartfile = require("./index.js"); var smartfile = require("./index.js");
var pr = require("pushrocks") var beautylog = require("beautylog")("os");
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); beautylog.info(smartfile.readFileToString("./test/mytest.txt"));