Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
bfda5177a6 | |||
ad2a1ac03d | |||
99db0b902e | |||
515d2d4970 | |||
abf2234480 |
@ -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 .",
|
||||||
|
@ -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();
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
docker build -t dockersock-image .
|
|
||||||
docker-compose up
|
|
Reference in New Issue
Block a user