Compare commits

...

5 Commits

Author SHA1 Message Date
bfda5177a6 1.0.8 2016-07-11 17:54:29 +02:00
ad2a1ac03d update timeout 2016-07-11 17:44:02 +02:00
99db0b902e remove confusing file 2016-07-11 17:41:47 +02:00
515d2d4970 1.0.7 2016-07-11 17:24:00 +02:00
abf2234480 add typings to package.json 2016-07-11 17:23:54 +02:00
3 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,9 @@
{ {
"name": "dockersock", "name": "dockersock",
"version": "1.0.6", "version": "1.0.8",
"description": "easy communication with docker from node, TypeScript ready", "description": "easy communication with docker from node, TypeScript ready",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": { "scripts": {
"test": "npmts --notest && npm run build && npm run startdocker && npm run cleanup", "test": "npmts --notest && npm run build && npm run startdocker && npm run cleanup",
"build": "docker build -t npmts-test-image .", "build": "docker build -t npmts-test-image .",

View File

@ -1,5 +1,5 @@
import "typings-test"; import "typings-test";
import "should" import "should";
import {Dockersock} from "../dist/index" import {Dockersock} from "../dist/index"
@ -26,7 +26,7 @@ describe("dockersock",function(){
}); });
}); });
it("should pull an image from imagetag",function(done){ it("should pull an image from imagetag",function(done){
this.timeout(30000); this.timeout(60000);
testDockersock.pullImage("hosttoday%2Fht-docker-dbase") testDockersock.pullImage("hosttoday%2Fht-docker-dbase")
.then((dataArg)=>{ .then((dataArg)=>{
done(); done();

View File

@ -1,2 +0,0 @@
docker build -t dockersock-image .
docker-compose up