diff --git a/package.json b/package.json index 4c8ff6474..612d9a1cf 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test:log": "cross-env DEBUG='automerge-repo:*' vitest", "test:coverage": "vitest --coverage", "test:ui": "vitest --coverage --ui", - "watch": "pnpm -r watch --parallel --stream" + "watch": "pnpm run --parallel --stream -r watch " }, "engines": { "node": ">= 18.x" @@ -70,4 +70,4 @@ "vite-plugin-wasm": "^3.3.0", "vitest": "^1.2.2" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-network-broadcastchannel/package.json b/packages/automerge-repo-network-broadcastchannel/package.json index 49155e2b9..048f571cd 100644 --- a/packages/automerge-repo-network-broadcastchannel/package.json +++ b/packages/automerge-repo-network-broadcastchannel/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch", + "watch": "npm-watch build", "test": "vitest" }, "dependencies": { @@ -26,4 +26,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-network-messagechannel/package.json b/packages/automerge-repo-network-messagechannel/package.json index c45ff2856..728a8a411 100644 --- a/packages/automerge-repo-network-messagechannel/package.json +++ b/packages/automerge-repo-network-messagechannel/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch", + "watch": "npm-watch build", "test": "vitest" }, "dependencies": { @@ -28,4 +28,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-network-websocket/package.json b/packages/automerge-repo-network-websocket/package.json index 11a73ed61..6554a7360 100644 --- a/packages/automerge-repo-network-websocket/package.json +++ b/packages/automerge-repo-network-websocket/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch", + "watch": "npm-watch build", "test": "vitest" }, "dependencies": { @@ -31,4 +31,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-react-hooks/package.json b/packages/automerge-repo-react-hooks/package.json index ac212ece6..0c93db5b4 100644 --- a/packages/automerge-repo-react-hooks/package.json +++ b/packages/automerge-repo-react-hooks/package.json @@ -10,7 +10,7 @@ "scripts": { "build": "tsc --noEmit && vite build", "test": "vitest run", - "watch": "npm-watch", + "watch": "npm-watch build", "visualize": "VISUALIZE=true vite build" }, "dependencies": { @@ -42,4 +42,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-storage-indexeddb/package.json b/packages/automerge-repo-storage-indexeddb/package.json index 5285d88fe..0e9a72380 100644 --- a/packages/automerge-repo-storage-indexeddb/package.json +++ b/packages/automerge-repo-storage-indexeddb/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch" + "watch": "npm-watch build" }, "dependencies": { "@automerge/automerge-repo": "workspace:*" @@ -25,4 +25,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-storage-nodefs/package.json b/packages/automerge-repo-storage-nodefs/package.json index 381f5b72c..026081e1c 100644 --- a/packages/automerge-repo-storage-nodefs/package.json +++ b/packages/automerge-repo-storage-nodefs/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch" + "watch": "npm-watch build" }, "dependencies": { "@automerge/automerge-repo": "workspace:*", @@ -26,4 +26,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/automerge-repo-svelte-store/package.json b/packages/automerge-repo-svelte-store/package.json index 544f8aa1d..58f27926c 100644 --- a/packages/automerge-repo-svelte-store/package.json +++ b/packages/automerge-repo-svelte-store/package.json @@ -8,7 +8,7 @@ "main": "dist/index.js", "scripts": { "build": "tsc", - "watch": "npm-watch" + "watch": "npm-watch build" }, "peerDependencies": { "@automerge/automerge": "^2.1.9", @@ -31,4 +31,4 @@ "devDependencies": { "svelte": "^3.0.0" } -} +} \ No newline at end of file diff --git a/packages/create-repo-node-app/package.json b/packages/create-repo-node-app/package.json index 37b6324f2..9e13e8a49 100644 --- a/packages/create-repo-node-app/package.json +++ b/packages/create-repo-node-app/package.json @@ -9,10 +9,9 @@ "bin": "dist/index.js", "scripts": { "build": "tsc", - "postbuild": "node postbuild.js", - "watch": "npm-watch build" + "postbuild": "node postbuild.js" }, "publishConfig": { "access": "public" } -} +} \ No newline at end of file