From aec8536a19a7dc4ecdd98b4a76b39001fa9770c7 Mon Sep 17 00:00:00 2001 From: tharvik Date: Wed, 7 Feb 2024 10:39:05 +0100 Subject: [PATCH] fixup! */pkg.json: add watch cmd --- cli/package.json | 1 + discojs/discojs-core/package.json | 1 + discojs/discojs-node/package.json | 5 +++-- discojs/discojs-web/package.json | 3 +++ package-lock.json | 16 ++++++++++------ package.json | 5 +---- server/package.json | 1 + 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/cli/package.json b/cli/package.json index c8178f3da..8c1e8f272 100644 --- a/cli/package.json +++ b/cli/package.json @@ -24,6 +24,7 @@ "eslint-plugin-import": "2", "eslint-plugin-node": "11", "eslint-plugin-promise": "5", + "nodemon": "3", "ts-command-line-args": "2", "typescript": "<4.5.0" } diff --git a/discojs/discojs-core/package.json b/discojs/discojs-core/package.json index fb1080088..aaaca3fef 100644 --- a/discojs/discojs-core/package.json +++ b/discojs/discojs-core/package.json @@ -42,6 +42,7 @@ "eslint": "7", "eslint-config-standard-with-typescript": "21", "mocha": "9", + "nodemon": "3", "ts-node": "10", "typedoc": "0.22", "typedoc-theme-oxide": "0.1", diff --git a/discojs/discojs-node/package.json b/discojs/discojs-node/package.json index 3659b5ba9..79ac9fee6 100644 --- a/discojs/discojs-node/package.json +++ b/discojs/discojs-node/package.json @@ -20,9 +20,10 @@ "homepage": "https://github.com/epfml/disco#readme", "dependencies": { "@epfml/discojs-core": "*", - "@tensorflow/tfjs-node": "^4.17.0" + "@tensorflow/tfjs-node": "4" }, "devDependencies": { - "@types/node": "20" + "@types/node": "20", + "nodemon": "3" } } diff --git a/discojs/discojs-web/package.json b/discojs/discojs-web/package.json index 0ade4c989..211d6f757 100644 --- a/discojs/discojs-web/package.json +++ b/discojs/discojs-web/package.json @@ -20,5 +20,8 @@ "homepage": "https://github.com/epfml/disco#readme", "dependencies": { "@epfml/discojs-core": "*" + }, + "devDependencies": { + "nodemon": "3" } } diff --git a/package-lock.json b/package-lock.json index 7a5151d90..96c71bec3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,7 @@ "server", "cli", "web-client" - ], - "devDependencies": { - "nodemon": "3" - } + ] }, "cli": { "name": "@epfml/disco-cli", @@ -33,6 +30,7 @@ "eslint-plugin-import": "2", "eslint-plugin-node": "11", "eslint-plugin-promise": "5", + "nodemon": "3", "ts-command-line-args": "2", "typescript": "<4.5.0" } @@ -301,6 +299,7 @@ "eslint": "7", "eslint-config-standard-with-typescript": "21", "mocha": "9", + "nodemon": "3", "ts-node": "10", "typedoc": "0.22", "typedoc-theme-oxide": "0.1", @@ -312,10 +311,11 @@ "version": "2.1.1", "dependencies": { "@epfml/discojs-core": "*", - "@tensorflow/tfjs-node": "^4.17.0" + "@tensorflow/tfjs-node": "4" }, "devDependencies": { - "@types/node": "20" + "@types/node": "20", + "nodemon": "3" } }, "discojs/discojs-web": { @@ -323,6 +323,9 @@ "version": "2.1.1", "dependencies": { "@epfml/discojs-core": "*" + }, + "devDependencies": { + "nodemon": "3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -6074,6 +6077,7 @@ "eslint-plugin-node": "11", "eslint-plugin-promise": "5", "mocha": "9", + "nodemon": "3", "typescript": "4" } }, diff --git a/package.json b/package.json index 4bd365b2e..864e84862 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,5 @@ "server", "cli", "web-client" - ], - "devDependencies": { - "nodemon": "3" - } + ] } diff --git a/server/package.json b/server/package.json index 28dd8b6a8..f4b8834bb 100644 --- a/server/package.json +++ b/server/package.json @@ -40,6 +40,7 @@ "eslint-plugin-node": "11", "eslint-plugin-promise": "5", "mocha": "9", + "nodemon": "3", "typescript": "4" }, "repository": {