package.json - Update react versions to hooks, add redux and typescript

This commit is contained in:
2020-01-14 12:08:01 +05:30
parent d66d89afd5
commit e8a13b925e
2 changed files with 512 additions and 497 deletions
+11 -8
View File
@@ -21,11 +21,13 @@
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"dependencies": {},
"dependencies": {
"redux": "^4.0.5"
},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
"react": "^16.8.0",
"react-dom": "^16.8.0",
"typescript": "^3.0.0"
},
"devDependencies": {
"@svgr/rollup": "^2.4.1",
@@ -36,9 +38,10 @@
"babel-runtime": "^6.26.0",
"cross-env": "^5.1.4",
"gh-pages": "^1.2.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-scripts-ts": "^2.16.0",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts-ts": "^3.1.0",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.3",
@@ -47,7 +50,7 @@
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-url": "^1.4.0",
"typescript": "^2.8.3"
"typescript": "^3.7.4"
},
"files": [
"dist"