Upgrade to React version 16

This commit is contained in:
Qolzam
2017-10-06 13:11:21 +07:00
parent cdbd75ec3f
commit 59304fa863
2 changed files with 13 additions and 13 deletions

View File

@@ -15,7 +15,6 @@
"babel-core": "^6.24.1", "babel-core": "^6.24.1",
"babel-loader": "^6.4.1", "babel-loader": "^6.4.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1", "babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1", "babel-preset-stage-0": "^6.24.1",
"classnames": "^2.2.5", "classnames": "^2.2.5",
@@ -28,26 +27,26 @@
"firebase": "^3.9.0", "firebase": "^3.9.0",
"keycode": "^2.1.9", "keycode": "^2.1.9",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"material-ui": "^0.18.1", "material-ui": "^0.19.3",
"moment": "^2.18.1", "moment": "^2.18.1",
"morgan": "^1.8.1", "morgan": "^1.8.1",
"node-env-file": "^0.1.8", "node-env-file": "^0.1.8",
"node-sass": "^4.5.2", "node-sass": "^4.5.2",
"prop-types": "^15.5.10", "prop-types": "^15.6.0",
"react": "^15.5.4", "react": "^16.0.0",
"react-addons-test-utils": "^15.5.1", "react-addons-test-utils": "^15.6.2",
"react-avatar-editor": "^9.1.1", "react-avatar-editor": "^10.3.0",
"react-dom": "^15.4.2", "react-dom": "^16.0.0",
"react-event-listener": "^0.4.5", "react-event-listener": "^0.5.1",
"react-linkify": "^0.2.1", "react-linkify": "^0.2.1",
"react-parallax": "^1.4.1", "react-parallax": "^1.4.4",
"react-redux": "^5.0.4", "react-redux": "^5.0.6",
"react-router": "^4.1.1 ", "react-router": "^4.1.1 ",
"react-router-dom": "^4.1.1", "react-router-dom": "^4.1.1",
"react-router-redux": "^5.0.0-alpha.6", "react-router-redux": "^5.0.0-alpha.6",
"react-string-replace": "^0.4.0", "react-string-replace": "^0.4.0",
"react-tap-event-plugin": "^2.0.1", "react-tap-event-plugin": "^3.0.2",
"redux": "^3.6.0", "redux": "^3.7.2",
"redux-actions": "^2.0.3", "redux-actions": "^2.0.3",
"redux-thunk": "^2.2.0", "redux-thunk": "^2.2.0",
"sass-loader": "^6.0.3", "sass-loader": "^6.0.3",
@@ -59,6 +58,7 @@
"webpack": "^2.4.1" "webpack": "^2.4.1"
}, },
"devDependencies": { "devDependencies": {
"babel-preset-env": "^1.6.0",
"css-loader": "^0.28.7", "css-loader": "^0.28.7",
"karma": "^1.6.0", "karma": "^1.6.0",
"karma-chrome-launcher": "^2.0.0", "karma-chrome-launcher": "^2.0.0",

View File

@@ -91,7 +91,7 @@ module.exports = {
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {
plugins: ['transform-decorators-legacy'], plugins: ['transform-decorators-legacy'],
presets: ['react', 'latest', 'stage-0'] presets: ['react', 'env', 'stage-0']
} }
} }
}, },