add npm run test--html for debugging

This commit is contained in:
Maxime Thirouin committed 2014-10-14 08:04:21 +02:00
1 parent b1de220555
commit 13b3485111
2 files changed
+2

No files matched your search

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