Skip to content

Commit

Permalink
add babel-core and preset-2015 to dev dependencies (babel#273)
Browse files Browse the repository at this point in the history
* add babel-core and preset-2015 to dev dependencies

currently it is impossible to run tests after forking the `babel-loader` without installing "babel-core" and "babel-preset-2015"
adding them to the dev-dependencies will fix this. (I saw the dependencies as they are installed in the "before_script" according to the .travis.yml

* no longer install `babel-core` and `babel-preset-es2015` in travis

this is now done on npm install as they are devDependencies, so installing them again is redundant
  • Loading branch information
timse authored and Ognian committed Feb 27, 2017
1 parent baa9ae1 commit c4f5549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ before_install:
- npm --version
before_script:
- 'if [ "$WEBPACK_VERSION" ]; then npm install webpack@^$WEBPACK_VERSION; fi'
- npm install babel-core babel-preset-es2015
script:
- npm run travis
after_success:
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"webpack": "1 || ^2.1.0-beta"
},
"devDependencies": {
"babel-core": "^6.0.0",
"babel-preset-es2015": "^6.0.0",
"expect.js": "^0.3.1",
"istanbul": "^0.4.0",
"jscs": "^2.5.0",
Expand Down

0 comments on commit c4f5549

Please sign in to comment.