Skip to content

Commit

Permalink
Fix leaderboard example
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Mar 2, 2023
1 parent ad23bf0 commit 2690ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/leaderboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "React Leaderboard backed by ShareDB",
"main": "server.js",
"scripts": {
"build": "browserify -t [ babelify --presets [ react ] ] client/index.jsx -o static/dist/bundle.js",
"build": "browserify -t [ babelify --presets [ @babel/react ] ] client/index.jsx -o static/dist/bundle.js",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server/index.js"
},
Expand All @@ -28,7 +28,7 @@
"ws": "^8.12.1"
},
"devDependencies": {
"babel-preset-react": "^6.24.1",
"@babel/preset-react": "^7.18.6",
"babelify": "^10.0.0",
"browserify": "^17.0.0"
}
Expand Down

0 comments on commit 2690ecb

Please sign in to comment.