From 55f3e60132488af06b55f4454623d53788748725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=98=D0=B0=D0=BD=20=D0=93=D0=B5=D0=BE?= =?UTF-8?q?=D1=80=D0=B3=D0=B8=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= Date: Sun, 30 Jul 2023 04:10:51 +0200 Subject: [PATCH] move dependencies to devDependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * typescript was already in devDependencies * dependencies used only by the frontend widget are only devDependencies, and are not required by the backend (at runtime): - react - react-dom - matrix-widget-api - url-join - classnames * cross-fetch is only used in tests Signed-off-by: Дамјан Георгиевски --- package.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index abc1f0a6d..3f3e8c467 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,6 @@ "@sentry/node": "^6.17.9", "ajv": "^8.12.0", "bluebird": "^3.7.2", - "classnames": "^2.3.2", - "cross-fetch": "^3.1.5", "diff": "^5.1.0", "escape-string-regexp": "^4.0.0", "extend": "^3.0.2", @@ -46,17 +44,12 @@ "matrix-appservice-bridge": "^9.0.1", "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.6-element.1", "matrix-org-irc": "^2.1.0", - "matrix-widget-api": "^1.4.0", "nopt": "^6.0.0", "p-queue": "^6.6.2", "pg": "^8.8.0", "quick-lru": "^5.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", "sanitize-html": "^2.7.2", "typed-emitter": "^2.1.0", - "typescript": "^5.0.4", - "url-join": "^5.0.0", "winston": "^3.8.2", "winston-daily-rotate-file": "^4.7.1" }, @@ -81,6 +74,8 @@ "@typescript-eslint/parser": "^5.38.0", "@vitejs/plugin-react": "^3.0.1", "autoprefixer": "^10.4.13", + "classnames": "^2.3.2", + "cross-fetch": "^3.1.5", "eslint": "^8.24.0", "eslint-plugin-jest": "^27.2.3", "eslint-plugin-react": "^7.32.2", @@ -88,14 +83,18 @@ "homerunner-client": "^0.0.6", "jasmine": "^3.99.0", "jest": "^29.1.1", + "matrix-widget-api": "^1.4.0", "node-mocks-http": "^1.12.1", "nyc": "^15.1.0", "postcss": "^8.4.21", "proxyquire": "^2.1.3", + "react": "^18.2.0", + "react-dom": "^18.2.0", "tailwindcss": "^3.2.4", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^5.0.4", + "url-join": "^5.0.0", "vite": "^4.0.4" } }