add script for mocha watch

This commit is contained in:
Thomas Ruoff
2016-03-06 11:10:24 +01:00
parent 067471dbc5
commit 029b12332a

View File

@@ -4,7 +4,8 @@
"description": "Simple helper for turning on/off connected/disconnected monitors with xrandr", "description": "Simple helper for turning on/off connected/disconnected monitors with xrandr",
"main": "cli.js", "main": "cli.js",
"scripts": { "scripts": {
"test": "mocha" "test": "mocha",
"testwatch": "mocha -w"
}, },
"bin": { "bin": {
"swm": "./cli.js" "swm": "./cli.js"