Skip to content

Commit

Permalink
test(package): watch for changes
Browse files Browse the repository at this point in the history
Execute tests as soon as a file changes

#44,#187
  • Loading branch information
gregswindle committed Feb 18, 2018
1 parent 6ba9d95 commit f92cc65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"email": "greg@swindle.net",
"url": "https://github.com/gregswindle"
},
"bin": "lib/cli.js",
"bin": {
"crc": "lib/cli.js"
},
"bugs": {
"url": "https://github.com/gregswindle/eslint-plugin-crc/issues"
},
Expand Down Expand Up @@ -158,6 +160,7 @@
"snyk-test": "snyk test",
"sonar": "sonar-scanner -Dproject.settings=./sonar-project.properties",
"test": "nyc mocha 'tests/**/*.spec.js'",
"test:watch": "nodemon --exec npm run test",
"travis-deploy-once": "travis-deploy-once",
"version": null
},
Expand Down

0 comments on commit f92cc65

Please sign in to comment.