Added test some npm commands

This commit is contained in:
John Shaver 2017-06-28 14:09:38 -07:00
parent 81c3cbcb33
commit 716d59e15c
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"description": "Just me practicing my Elm",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "docker run -it --rm -v \"$(pwd):/code\" -w \"/code\" -e \"HOME=/tmp\" -u $UID:$GID codesimple/elm:0.18 test",
"build-demo": "docker run -it --rm -v \"$(pwd):/code\" -w \"/code\" -e \"HOME=/tmp\" -u $UID:$GID codesimple/elm:0.18 make --output index.html main.elm"
},
"repository": {
"type": "git",