Skip to content

Commit

Permalink
move dependencies to devDependencies
Browse files Browse the repository at this point in the history
* 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: Дамјан Георгиевски <gdamjan@gmail.com>
  • Loading branch information
gdamjan committed Aug 1, 2023
1 parent c557cbe commit 55f3e60
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
},
Expand All @@ -81,21 +74,27 @@
"@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",
"eslint-plugin-react-hooks": "^4.6.0",
"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"
}
}

0 comments on commit 55f3e60

Please sign in to comment.