Remove unused dependencies

Keeping the amount of dependencies small speeds up installations.
It also helps to reduce the clutter and to get a better overview of the
application.
main
ZauberNerd 2023-07-07 11:31:22 +02:00
parent 23c0169c63
commit 0ca07ee805
No known key found for this signature in database
GPG Key ID: 9B617FBFF79E4F60
3 changed files with 57 additions and 780 deletions

View File

@ -2,7 +2,6 @@
"name": "chat-with-gpt", "name": "chat-with-gpt",
"version": "0.2.3", "version": "0.2.3",
"dependencies": { "dependencies": {
"@auth0/auth0-spa-js": "^2.0.4",
"@chengsokdara/use-whisper": "^0.2.0", "@chengsokdara/use-whisper": "^0.2.0",
"@emotion/css": "^11.10.6", "@emotion/css": "^11.10.6",
"@emotion/react": "^11.10.6", "@emotion/react": "^11.10.6",
@ -17,17 +16,12 @@
"@svgr/webpack": "^6.5.1", "@svgr/webpack": "^6.5.1",
"broadcast-channel": "^4.20.2", "broadcast-channel": "^4.20.2",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"csv": "^6.2.8", "events": "^3.3.0",
"expiry-set": "^1.0.0",
"idb-keyval": "^6.2.0", "idb-keyval": "^6.2.0",
"jshashes": "^1.0.8", "jshashes": "^1.0.8",
"lib0": "^0.2.73", "lib0": "^0.2.73",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"minisearch": "^6.0.1", "minisearch": "^6.0.1",
"natural": "^6.2.0",
"openai": "^3.2.1", "openai": "^3.2.1",
"papaparse": "^5.4.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
@ -42,10 +36,7 @@
"remark-math": "^5.1.1", "remark-math": "^5.1.1",
"sentence-splitter": "^4.2.0", "sentence-splitter": "^4.2.0",
"slugify": "^1.6.5", "slugify": "^1.6.5",
"sort-by": "^0.0.2",
"url": "^0.11.0",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"web-vitals": "^2.1.4",
"workerize-loader": "^2.0.2", "workerize-loader": "^2.0.2",
"y-indexeddb": "^9.0.9", "y-indexeddb": "^9.0.9",
"y-protocols": "^1.0.5", "y-protocols": "^1.0.5",
@ -82,17 +73,11 @@
"devDependencies": { "devDependencies": {
"@craco/craco": "^7.1.0", "@craco/craco": "^7.1.0",
"@formatjs/cli": "^6.0.4", "@formatjs/cli": "^6.0.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2", "@types/jest": "^27.5.2",
"@types/natural": "^5.1.2",
"@types/node": "^16.18.13", "@types/node": "^16.18.13",
"@types/papaparse": "^5.3.7",
"@types/react": "^18.0.28", "@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.6", "@types/react-helmet": "^6.1.6",
"@types/react-intl": "^3.0.0",
"@types/react-syntax-highlighter": "^15.5.6", "@types/react-syntax-highlighter": "^15.5.6",
"@types/uuid": "^9.0.1", "@types/uuid": "^9.0.1",
"babel-plugin-formatjs": "^10.4.0", "babel-plugin-formatjs": "^10.4.0",

787
server/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,28 +12,12 @@
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.282.0", "@aws-sdk/client-s3": "^3.282.0",
"@msgpack/msgpack": "^3.0.0-beta2", "@msgpack/msgpack": "^3.0.0-beta2",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/connect-sqlite3": "^0.9.2",
"@types/debug": "^4.1.7",
"@types/email-validator": "^1.0.6",
"@types/express": "^4.17.17",
"@types/express-rate-limit": "^6.0.0",
"@types/express-session": "^1.17.6",
"@types/helmet": "^4.0.0",
"@types/node": "^18.14.4",
"@types/passport": "^1.0.12",
"@types/passport-local": "^1.0.35",
"@types/pg": "^8.6.6",
"@types/sqlite3": "^3.1.8",
"axios": "^1.3.4", "axios": "^1.3.4",
"bcrypt": "^5.1.0", "bcrypt": "^5.1.0",
"compression": "^1.7.4", "compression": "^1.7.4",
"connect-sqlite3": "^0.9.13", "connect-sqlite3": "^0.9.13",
"debug": "^4.3.4",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"email-validator": "^2.0.4", "email-validator": "^2.0.4",
"events": "^3.3.0",
"expiry-map": "^2.0.0", "expiry-map": "^2.0.0",
"expiry-set": "^1.0.0", "expiry-set": "^1.0.0",
"express": "^4.18.2", "express": "^4.18.2",
@ -41,29 +25,30 @@
"express-rate-limit": "^6.7.0", "express-rate-limit": "^6.7.0",
"express-session": "^1.17.3", "express-session": "^1.17.3",
"helmet": "^6.0.1", "helmet": "^6.0.1",
"idb-keyval": "^6.2.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"knex": "^2.4.2", "knex": "^2.4.2",
"launchdarkly-eventsource": "^1.4.4", "launchdarkly-eventsource": "^1.4.4",
"lib0": "^0.2.73", "lib0": "^0.2.73",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"nanoid": "^4.0.1", "nanoid": "^4.0.1",
"openai": "^3.2.1", "openai": "^3.2.1",
"passport": "^0.6.0", "passport": "^0.6.0",
"passport-local": "^1.0.0", "passport-local": "^1.0.0",
"pg": "^8.9.0",
"sort-by": "^0.0.2",
"sqlite3": "^5.1.4", "sqlite3": "^5.1.4",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"xhr2": "^0.2.1",
"y-protocols": "^1.0.5", "y-protocols": "^1.0.5",
"yaml": "^2.2.1", "yaml": "^2.2.1",
"yjs": "^13.5.51" "yjs": "^13.5.51"
}, },
"devDependencies": { "devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/connect-sqlite3": "^0.9.2",
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.6",
"@types/jest": "^29.5.2", "@types/jest": "^29.5.2",
"@types/node": "^18.14.4",
"@types/passport": "^1.0.12",
"@types/passport-local": "^1.0.35",
"@types/sqlite3": "^3.1.8",
"jest": "^29.6.0", "jest": "^29.6.0",
"ts-jest": "^29.1.1" "ts-jest": "^29.1.1"
} }