mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
chore(react,react-router): dev command for watch mode, ts dep updates
This commit is contained in:
@ -24,6 +24,7 @@
|
|||||||
"build": "npm run clean && npm run compile",
|
"build": "npm run clean && npm run compile",
|
||||||
"clean": "rimraf dist dist-transpiled",
|
"clean": "rimraf dist dist-transpiled",
|
||||||
"compile": "npm run tsc && rollup -c",
|
"compile": "npm run tsc && rollup -c",
|
||||||
|
"dev": "tsc -p . --watch",
|
||||||
"release": "np --any-branch --no-cleanup",
|
"release": "np --any-branch --no-cleanup",
|
||||||
"lint": "tslint --project .",
|
"lint": "tslint --project .",
|
||||||
"lint.fix": "tslint --project . --fix",
|
"lint.fix": "tslint --project . --fix",
|
||||||
@ -44,7 +45,7 @@
|
|||||||
"react": ">=16.8.6",
|
"react": ">=16.8.6",
|
||||||
"react-dom": ">=16.8.6",
|
"react-dom": ">=16.8.6",
|
||||||
"react-router": "^5.0.1",
|
"react-router": "^5.0.1",
|
||||||
"react-router-dom": "^5.0.1"
|
"react-router-dom": "^5.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-node-resolve": "^8.1.0",
|
"@rollup/plugin-node-resolve": "^8.1.0",
|
||||||
@ -52,18 +53,18 @@
|
|||||||
"@types/react": "16.14.0",
|
"@types/react": "16.14.0",
|
||||||
"@types/react-dom": "^16.9.0",
|
"@types/react-dom": "^16.9.0",
|
||||||
"@types/react-router": "^5.0.3",
|
"@types/react-router": "^5.0.3",
|
||||||
"@types/react-router-dom": "^5.1.5",
|
"@types/react-router-dom": "^5.3.3",
|
||||||
"prettier": "^2.2.0",
|
"prettier": "^2.2.0",
|
||||||
"react": "^16.9.0",
|
"react": "^16.9.0",
|
||||||
"react-dom": "^16.9.0",
|
"react-dom": "^16.9.0",
|
||||||
"react-router": "^5.0.1",
|
"react-router": "^5.0.1",
|
||||||
"react-router-dom": "^5.0.1",
|
"react-router-dom": "5.3.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rollup": "^2.26.4",
|
"rollup": "^2.26.4",
|
||||||
"rollup-plugin-sourcemaps": "^0.6.2",
|
"rollup-plugin-sourcemaps": "^0.6.2",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-ionic-rules": "0.0.21",
|
"tslint-ionic-rules": "0.0.21",
|
||||||
"tslint-react": "^5.0.0",
|
"tslint-react": "^5.0.0",
|
||||||
"typescript": "^3.9.5"
|
"typescript": "^4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,9 @@ export class IonRouteInner extends React.PureComponent<IonRouteProps> {
|
|||||||
*
|
*
|
||||||
* TODO: FW-647
|
* TODO: FW-647
|
||||||
*/
|
*/
|
||||||
computedMatch={(this.props as any).computedMatch}
|
{...{
|
||||||
|
computedMatch: (this.props as any).computedMatch,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
"tslint": "^6.1.2",
|
"tslint": "^6.1.2",
|
||||||
"tslint-ionic-rules": "0.0.21",
|
"tslint-ionic-rules": "0.0.21",
|
||||||
"tslint-react": "^5.0.0",
|
"tslint-react": "^5.0.0",
|
||||||
"typescript": "^3.9.5"
|
"typescript": "^4.0.0"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"preset": "ts-jest",
|
"preset": "ts-jest",
|
||||||
|
Reference in New Issue
Block a user