mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +00:00
[Scripts] Add script to run karma continuously
Add a script (to be executed with `npm run-script watch`) that runs karma and watches for changes; rerunning tests whenever a file is changed. Useful for local development.
This commit is contained in:
parent
3783ed69d7
commit
5ab26df4c9
@ -22,7 +22,8 @@
|
|||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
"test": "karma start --single-run",
|
"test": "karma start --single-run",
|
||||||
"jshint": "jshint platform example || exit 0",
|
"jshint": "jshint platform example || exit 0",
|
||||||
"jsdoc": "jsdoc -c jsdoc.json -r -d docs"
|
"jsdoc": "jsdoc -c jsdoc.json -r -d docs",
|
||||||
|
"watch": "karma start"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user