add npm run test--html for debugging

This commit is contained in:
Maxime Thirouin
2014-05-05 08:20:50 +02:00
parent b1de220555
commit 13b3485111
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.DS_Store
node_modules/
dist/
tests/scripts/index.html

View File

@@ -38,6 +38,7 @@
"scripts": {
"lint": "jscs **/*.js && jshint . --exclude-path .gitignore",
"test": "npm run lint && testling",
"test--html": "testling --html > tests/scripts/index.html",
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify"
},
"testling": {