Skip to content

Commit 692e342

Browse files
committed
chore(package): add script for watching file changes when testing
1 parent 1c985c9 commit 692e342

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"compile": "babel source --out-dir distribution",
7373
"lint": "eslint source",
7474
"test": "cross-env NODE_ENV=test mocha --compilers js:babel-register",
75+
"watch": "npm test -- --watch",
7576
"cover": "nyc --reporter html --reporter text -- npm -s test",
7677
"cover:report": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov",
7778
"prepublish": "npm run compile",

0 commit comments

Comments
 (0)