Skip to content

Commit

Permalink
chore(build): create a better 'watch' npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Oct 31, 2016
1 parent 724c902 commit 0551425
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
"description": "UI-Router Core: Framework agnostic, State-based routing for JavaScript Single Page Apps",
"version": "1.0.1",
"scripts": {
"test": "karma start karma.conf.js",
"debug": "karma start karma.conf.js --singleRun=false --browsers=Chrome --autoWatch=true --autoWatchInterval=1",
"clean": "shx rm -rf lib lib-esm",
"build": "npm run clean && tsc && tsc -p tsconfig.esm.json",
"test": "karma start",
"watch": "run-p watch:*",
"watch:buildjs": "tsc -w",
"watch:test": "karma start --singleRun=false --autoWatch=true --autoWatchInterval=1",
"debug": "karma start --singleRun=false --autoWatch=true --autoWatchInterval=1 --browsers=Chrome",
"prepublish": "npm run build"
},
"homepage": "https://ui-router.github.io",
Expand Down Expand Up @@ -62,6 +65,7 @@
"karma-phantomjs-launcher": "^1.0.2",
"karma-script-launcher": "~0.1.0",
"karma-systemjs": "^0.7.2",
"npm-run-all": "^3.1.1",
"readline-sync": "^1.4.4",
"shelljs": "^0.7.0",
"shx": "^0.1.4",
Expand Down

0 comments on commit 0551425

Please sign in to comment.