Skip to content

Commit

Permalink
Add yarn watch
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed May 2, 2018
1 parent 79d0cef commit 83c1ea9
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 8 deletions.
3 changes: 2 additions & 1 deletion config/tsconfig.shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"pretty": true,
"strictNullChecks": true,
"inlineSourceMap": true,
"declaration": true
"declaration": true,
"preserveWatchOutput": true
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "lerna run --parallel lint",
"prebuild": "yarn lint",
"build": "lerna run --stream --prefix build",
"watch": "lerna run --parallel watch",
"start": "lerna run --scope @stimulus/examples --stream start",
"test": "yarn build && karma start config/karma.conf.js",
"test:watch": "yarn test --auto-watch --no-single-run",
Expand Down
3 changes: 2 additions & 1 deletion packages/@stimulus/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}
3 changes: 2 additions & 1 deletion packages/@stimulus/multimap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}
3 changes: 2 additions & 1 deletion packages/@stimulus/mutation-observers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}
3 changes: 2 additions & 1 deletion packages/@stimulus/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}
3 changes: 2 additions & 1 deletion packages/@stimulus/webpack-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}
3 changes: 2 additions & 1 deletion packages/stimulus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
"scripts": {
"prepack": "cp ../../README.md .",
"prepublishOnly": "yarn run build",
"clean": "rimraf dist",
"build": "rollup --config rollup.config.js",
"clean": "rimraf dist"
"watch": "rollup --config rollup.config.js --watch"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/typedoc-plugin-stimulus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"clean": "rimraf dist",
"lint": "tslint -p . -c ../../config/tslint.json",
"build": "tsc"
"build": "tsc",
"watch": "tsc --watch"
}
}

0 comments on commit 83c1ea9

Please sign in to comment.