Skip to content

Commit 9899080

Browse files
committed
install ws
1 parent 720f7fe commit 9899080

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

client/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"react-scripts": "4.0.3",
1717
"react-stack-grid": "^0.7.1",
1818
"react-textarea-autosize": "^8.3.3",
19+
"react-use-websocket": "^2.7.1",
1920
"remark-gfm": "^1.0.0",
2021
"web-vitals": "^0.2.4",
2122
"workbox-background-sync": "^5.1.4",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"dev": "cross-env NODE_ENV=dev concurrently \"npm run server:start-dev\" \"npm run client:start-dev\"",
2121
"prod": "npm run server:start-prod",
2222
"prod:predeploy": "npm run deploy && npm run prod",
23+
"prod:prebuild": "npm run client:build && npm run prod",
2324
"test": "echo \"Error: no test specified\" && exit 1",
2425
"heroku-postbuild": "npm run deploy",
2526
"mongo-ubuntu:update": "(sudo apt update && sudo apt upgrade)",

server/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
"express": "^4.17.1",
1717
"express-validator": "^6.11.1",
1818
"jsonwebtoken": "^8.5.1",
19-
"mongoose": "^5.12.13"
19+
"mongoose": "^5.12.13",
20+
"ws": "^7.4.6"
2021
},
2122
"devDependencies": {
2223
"nodemon": "^2.0.7"
2324
}
24-
}
25+
}

0 commit comments

Comments
 (0)