From 6e3fd70bf00ebaad2a689e721e96480faa1d495c Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 1 Nov 2023 17:23:30 -0400 Subject: [PATCH] refactor: add watch command --- packages/react-router/package.json | 1 + packages/react/package.json | 1 + packages/vue-router/package.json | 1 + packages/vue/package.json | 1 + 4 files changed, 4 insertions(+) diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 3df4cc1ff5..8557f68e28 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -21,6 +21,7 @@ }, "scripts": { "build": "npm run clean && npm run compile", + "build.watch": "npm run build && npm run compile -- --watch", "clean": "rimraf dist", "compile": "rollup -c", "eslint": "eslint src", diff --git a/packages/react/package.json b/packages/react/package.json index dc47bf300c..bbe6f2475a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -21,6 +21,7 @@ }, "scripts": { "build": "npm run clean && npm run copy && npm run compile", + "build.watch": "npm run build && npm run compile -- --watch", "clean": "rimraf dist && rimraf routing", "compile": "rollup -c", "eslint": "eslint src", diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json index 0a81900f1c..4a866dd110 100644 --- a/packages/vue-router/package.json +++ b/packages/vue-router/package.json @@ -10,6 +10,7 @@ "lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache", "bundle": "rollup --config rollup.config.js", "build": "npm run clean && npm run bundle", + "build.watch": "npm run build && npm run bundle -- --watch", "clean": "rimraf dist", "sync": "sh ./scripts/sync.sh" }, diff --git a/packages/vue/package.json b/packages/vue/package.json index 76d4f26de9..e74f0e3852 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -9,6 +9,7 @@ "lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache", "test": "jest", "build": "npm run clean && npm run copy && npm run copy.overlays && npm run bundle && npm run build.vetur && npm run build.web-types", + "build.watch": "npm run build && npm run bundle -- --watch", "bundle": "rollup --config rollup.config.js", "clean": "rimraf dist", "build.web-types": "node ./scripts/build-web-types.js",