fix dep
This commit is contained in:
parent
12500a0900
commit
7da57901dd
1
index.js
1
index.js
@ -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
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
test.js
4
test.js
@ -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"));
|
||||||
|
@ -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 = {
|
||||||
|
@ -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"));
|
Loading…
Reference in New Issue
Block a user