mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-12 18:43:46 +00:00
Upgrade to react 18
This commit is contained in:
23
package.json
23
package.json
@@ -25,11 +25,11 @@
|
||||
"original-fs": "^1.2.0",
|
||||
"parse-gedcom": "^1.0.5",
|
||||
"query-string": "^9.1.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-intl": "^5.15.5",
|
||||
"react-linkify": "^0.2.2",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-intl": "^6.8.9",
|
||||
"react-linkify": "^1.0.0-alpha",
|
||||
"react-router-dom": "^5.3.4",
|
||||
"rehype-stringify": "^10.0.1",
|
||||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "^11.1.1",
|
||||
@@ -41,6 +41,9 @@
|
||||
"wikitree-js": "^0.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
||||
"@formatjs/fast-memoize": "^2.2.6",
|
||||
"@formatjs/intl": "^2.10.15",
|
||||
"@types/adm-zip": "^0.5.0",
|
||||
"@types/array.prototype.flatmap": "^1.2.2",
|
||||
"@types/d3-array": "^2.9.0",
|
||||
@@ -55,9 +58,9 @@
|
||||
"@types/js-cookie": "^3.0.6",
|
||||
"@types/lunr": "^2.3.3",
|
||||
"@types/md5": "^2.3.0",
|
||||
"@types/react": "^17.0.3",
|
||||
"@types/react-dom": "^17.0.3",
|
||||
"@types/react-router-dom": "^5.1.7",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
||||
"@typescript-eslint/parser": "^4.19.0",
|
||||
"cypress": "^13.17.0",
|
||||
@@ -67,10 +70,10 @@
|
||||
"run-script-os": "^1.1.6",
|
||||
"start-server-and-test": "^2.0.9",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"typescript": "^4.5.5"
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "run-script-os",
|
||||
"start": "GENERATE_SOURCEMAP=false run-script-os",
|
||||
"start:default": "REACT_APP_CHANGELOG=`cat CHANGELOG.md` REACT_APP_GIT_SHA=`git rev-parse --short HEAD` REACT_APP_GIT_TIME=`git log -1 --format=%ci` react-scripts start",
|
||||
"start:windows": "react-scripts start",
|
||||
"build": "run-script-os",
|
||||
|
||||
Reference in New Issue
Block a user