add npmdocker

This commit is contained in:
2016-07-28 19:38:26 +02:00
parent be659a2dbd
commit 37028a9b1f
4 changed files with 7 additions and 11 deletions

View File

@@ -5,10 +5,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"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"
"test": "npmdocker"
},
"repository": {
"type": "git",