Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 363225e

Browse files
committed
Upped outdated packages
1 parent 820d8e3 commit 363225e

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can either follow the tutorial below or just jump to the resulting code with
1212
1. Run command `webpack`
1313
1. Open `/myapp/dist/index.html`
1414

15-
If you find the tutorial helpful, and maybe learned something new, please give it a star [here](https://github.com/jansoren/react-webpack-tutorial).
15+
If you find the tutorial helpful, and maybe learned something new, please give it a star [here](https://github.com/jansoren/react-webpack-tutorial).
1616
If you have improvement suggestions please create an issue or a pull request. Enjoy :-)
1717

1818
## Tutorial prerequisites
@@ -66,7 +66,7 @@ You have now created an initial [package.json](https://github.com/jansoren/react
6666
```
6767

6868
1. Install React DOM and add it to your package.json file automatically using `npm install --save react react-dom`
69-
1. Install Babel to transform the content of a .js file from ES6 to ES5 `npm install --save-dev babel-preset-react babel-preset-es2015 babel-loader`
69+
1. Install Babel to transform the content of a .js file from ES6 to ES5 `npm install --save-dev babel-preset-react babel-preset-es2015 babel-core babel-loader`
7070
1. In your `webpack.config.js` add the babel-loader that you just installed like this:
7171
```javascript
7272
var config = {

‎myapp/package.json‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
"author": "",
1010
"license": "ISC",
1111
"devDependencies": {
12-
"babel-loader": "^6.2.1",
13-
"babel-preset-es2015": "^6.3.13",
14-
"babel-preset-react": "^6.3.13",
15-
"webpack": "^1.12.12"
12+
"babel-core": "^6.17.0",
13+
"babel-loader": "^6.2.5",
14+
"babel-preset-es2015": "^6.16.0",
15+
"babel-preset-react": "^6.16.0",
16+
"webpack": "^1.13.2"
1617
},
1718
"dependencies": {
18-
"react": "^15.2.1",
19-
"react-dom": "^15.2.1"
19+
"react": "^15.3.2",
20+
"react-dom": "^15.3.2"
2021
}
2122
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /