Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Add mocha watch scripts using chokidar
Browse files Browse the repository at this point in the history
  • Loading branch information
willclarktech committed Jul 25, 2017
1 parent 8b05cdd commit 9bf6f6b
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 71 deletions.
208 changes: 152 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -5,7 +5,9 @@
"main": "./dist/index.js",
"scripts": {
"test": "nyc mocha",
"test:watch": "chokidar \"./(lib|test)/**/*.js\" -c \"npm run test\" --initial",
"test:now": "npm run test -- --grep @now",
"test:now:watch": "chokidar \"./(lib|test)/**/*.js\" -c \"npm run test:now\" --initial",
"cover": "istanbul cover --dir ./coverage _mocha",
"eslint": "./node_modules/.bin/grunt eslint --verbose",
"jenkins": "./node_modules/.bin/grunt jenkins --verbose",
Expand All @@ -32,6 +34,7 @@
"babel-cli": "=6.24.1",
"babel-polyfill": "=6.23.0",
"babel-preset-env": "=1.6.0",
"chokidar-cli": "=1.2.0",
"coveralls": "=2.13.1",
"grunt": "=1.0.1",
"grunt-browserify": "=5.0.0",
Expand Down

0 comments on commit 9bf6f6b

Please sign in to comment.