This commit is contained in:
Philipp Kunz 2016-06-16 04:21:28 +02:00
parent 49e7cc010b
commit 188c7af749

View File

@ -4,7 +4,7 @@
"description": "easy communication with docker from node, TypeScript ready",
"main": "dist/index.js",
"scripts": {
"test": "npmts --notest && npm run cleanup && npm run build && npm run startdocker",
"test": "npmts --notest && npm run build && npm run startdocker && npm run cleanup",
"build": "docker build -t npmts-test-image .",
"startdocker":"docker run -v /var/run/docker.sock:/var/run/docker.sock --name npmts-test-container npmts-test-image",
"cleanup":"docker rm npmts-test-container && docker rmi npmts-test-image"