mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
This commit does a lot to try and meld the v6 migration to work against the test app. The introduction of `<Routes>` component from react-router means much of the logic around querying the `<Route>` as the direct child of the outlet and also cloning the element, leads to a broken experience. This commit tries to handle that requirement. Additional discovery will try to uncover if we can move the `<Routes>` inside of the outlet so the developer doesn't need to specify it when upgrading (and perhaps can simplify how we query the nodes).
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "@ionic/react-router",
|
|
"version": "7.1.1",
|
|
"description": "React Router wrapper for @ionic/react",
|
|
"keywords": [
|
|
"ionic",
|
|
"framework",
|
|
"react",
|
|
"mobile",
|
|
"app",
|
|
"hybrid",
|
|
"webapp",
|
|
"cordova",
|
|
"progressive web app",
|
|
"pwa"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ionic-team/ionic-framework.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run compile",
|
|
"clean": "rimraf dist dist-transpiled",
|
|
"compile": "npm run tsc && rollup -c",
|
|
"release": "np --any-branch --no-cleanup",
|
|
"eslint": "eslint src",
|
|
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
|
"lint": "npm run eslint && npm run prettier -- --write --cache",
|
|
"lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache",
|
|
"tsc": "tsc -p .",
|
|
"sync": "sh ./scripts/sync.sh"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"dependencies": {
|
|
"@ionic/react": "^7.1.1",
|
|
"tslib": "*"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8.6",
|
|
"react-dom": ">=16.8.6",
|
|
"react-router": "^6.0.0",
|
|
"react-router-dom": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ionic/eslint-config": "^0.3.0",
|
|
"@ionic/prettier-config": "^2.0.0",
|
|
"@rollup/plugin-node-resolve": "^8.1.0",
|
|
"@types/node": "^14.0.14",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
"@typescript-eslint/parser": "^5.48.2",
|
|
"eslint": "^7.32.0",
|
|
"prettier": "^2.8.3",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0",
|
|
"react-router": "^6.0.0",
|
|
"react-router-dom": "^6.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.26.4",
|
|
"rollup-plugin-sourcemaps": "^0.6.2",
|
|
"typescript": "^4.0.5"
|
|
},
|
|
"prettier": "@ionic/prettier-config"
|
|
}
|