Skip to content

Commit

Permalink
Move babel presets to dependencies (freeCodeCamp#215)
Browse files Browse the repository at this point in the history
* Move babel presets to dependencies

Whilst building in netlify, it looks like dev-dependencies are not installed. This causes an error and the build process exits with a non-zero exit code, due to `es2015` not being found.
  • Loading branch information
Bouncey authored and systimotic committed Sep 3, 2017
1 parent 00d1ab5 commit dfa4e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"dependencies": {
"axios": "^0.16.2",
"babel-eslint": "^7.2.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"caniuse-db": "^1.0.30000700",
"eslint": "^4.3.0",
"eslint-plugin-import": "^2.3.0",
Expand Down Expand Up @@ -33,8 +35,6 @@
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"chalk": "^2.0.1",
"pre-commit": "^1.2.2"
},
Expand Down

0 comments on commit dfa4e48

Please sign in to comment.