-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies #14
base: master
Are you sure you want to change the base?
Conversation
package.json
Outdated
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"env", | ||
"@babel/env", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create-react-app 2 uses Babel 7, whose packages are now namespaced under @babel
"babel-core": "6.24.1", | ||
"@babel/core": "^7.1.0", | ||
"@babel/cli": "^7.1.0", | ||
"@babel/preset-env": "^7.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note 3 lines above: create-react-app 2 uses Babel 7, whose packages are now namespaced under @babel
Updated November 2018
This branch shows all dependencies updated to latest including React 16. Nearly all these code changes are due to me using the latest version of create-react-app: 1.10.17. Although this PR is based on create-react-app 1.10.17, I've also made the changes required to use create-react-app 2 and noted those points in the comments.
A notable code change is required is for upgrading Enzyme: