refactor: basic implement live and scroll resume.
Showing
{ | { | ||
"name": "react-live-route", | "name": "react-live-route", | ||
"version": "2.0.7", | "version": "3.0.0", | ||
"description": "A living route for react-router v4", | "description": "A living route for react-router v4", | ||
"repository": "fi3ework/react-live-route", | "repository": "fi3ework/react-live-route", | ||
"license": "MIT", | "license": "MIT", | ||
... | @@ -17,8 +17,8 @@ | ... | @@ -17,8 +17,8 @@ |
"test:watch": "jest --watch" | "test:watch": "jest --watch" | ||
}, | }, | ||
"peerDependencies": { | "peerDependencies": { | ||
"react": ">=15", | "react": ">=16.3", | ||
"react-router-dom": ">=4 < 4.4" | "react-router-dom": ">=4" | ||
}, | }, | ||
"files": [ | "files": [ | ||
"dist/" | "dist/" | ||
... | @@ -28,13 +28,11 @@ | ... | @@ -28,13 +28,11 @@ |
"invariant": "^2.2.4", | "invariant": "^2.2.4", | ||
"prop-types": "^15.6.1", | "prop-types": "^15.6.1", | ||
"react-is": "^16.7.0", | "react-is": "^16.7.0", | ||
"tiny-invariant": "^1.0.3", | |||
"tiny-warning": "^1.0.2", | |||
"warning": "^4.0.1" | "warning": "^4.0.1" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"react": "^16.3.2", | |||
"react-dom": "^16.3.2", | |||
"react-router": "^4.3.1", | |||
"react-router-dom": "^4.3.1", | |||
"@types/jest": "^24.0.9", | "@types/jest": "^24.0.9", | ||
"@types/react": "^16.7.18", | "@types/react": "^16.7.18", | ||
"@types/react-dom": "^16.0.11", | "@types/react-dom": "^16.0.11", | ||
... | @@ -42,6 +40,10 @@ | ... | @@ -42,6 +40,10 @@ |
"coveralls": "^3.0.3", | "coveralls": "^3.0.3", | ||
"jest": "^24.5.0", | "jest": "^24.5.0", | ||
"jest-environment-jsdom": "^24.5.0", | "jest-environment-jsdom": "^24.5.0", | ||
"react": "^16.3.2", | |||
"react-dom": "^16.3.2", | |||
"react-router": "^4.3.1", | |||
"react-router-dom": "^4.3.1", | |||
"react-testing-library": "^6.0.0", | "react-testing-library": "^6.0.0", | ||
"ts-jest": "^24.0.0", | "ts-jest": "^24.0.0", | ||
"tslint": "^5.14.0", | "tslint": "^5.14.0", | ||
... | ... |
src/LiveRoute___.tsx
0 → 100644
src/matchPath.tsx
0 → 100644
Please
register
or
sign in
to comment