Skip to content

Commit ff3bc7a

Browse files
committed
Update dependencies.
* Move babel-core to peerDependency. * Update dependencies to latest version.
1 parent fc2bfe4 commit ff3bc7a

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
## Installation
99

1010
```bash
11-
npm install babel-loader --save-dev
11+
npm install babel-loader babel-core babel-preset-es2015 --save-dev
1212
```
1313

1414
__Note:__ [npm](https://npmjs.com) will deprecate [auto-installing of peerDependencies](https://github.com/npm/npm/issues/6565) on the next major release, so required peer dependencies like babel-core and webpack will have to be listed explicitly in your `package.json`.
1515

16+
1617
## Usage
1718

1819
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
@@ -35,7 +36,7 @@ module: {
3536

3637
See the `babel` [options](http://babeljs.io/docs/usage/options/).
3738

38-
You can pass options to the loader by writting them as a [query string](https://github.com/webpack/loader-utils):
39+
You can pass options to the loader by writing them as a [query string](https://github.com/webpack/loader-utils):
3940

4041
```javascript
4142
module: {

package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,24 @@
44
"description": "babel module loader for webpack",
55
"main": "index.js",
66
"dependencies": {
7-
"babel-core": "^6.0.12",
8-
"loader-utils": "^0.2.9",
9-
"object-assign": "^3.0.0"
7+
"loader-utils": "^0.2.11",
8+
"object-assign": "^4.0.1"
109
},
1110
"peerDependencies": {
12-
"babel-core": "^6.0.12",
11+
"babel-core": "^6.0.0",
1312
"webpack": "*"
1413
},
1514
"devDependencies": {
16-
"babel-core": "^6.0.12",
17-
"babel-preset-es2015": "^6.0.12",
15+
"babel-core": "^6.0.0",
16+
"babel-preset-es2015": "^6.0.0",
1817
"expect.js": "^0.3.1",
19-
"istanbul": "^0.3.15",
20-
"jscs": "^1.13.1",
18+
"istanbul": "^0.4.0",
19+
"jscs": "^2.5.0",
2120
"jshint": "^2.8.0",
2221
"mkdirp": "^0.5.1",
23-
"mocha": "^2.2.5",
24-
"rimraf": "^2.4.0",
25-
"webpack": "^1.9.11"
22+
"mocha": "^2.3.3",
23+
"rimraf": "^2.4.3",
24+
"webpack": "^1.12.2"
2625
},
2726
"scripts": {
2827
"test": "npm run hint && npm run cs && npm run cov",

0 commit comments

Comments
 (0)