Skip to content

Commit

Permalink
Merge pull request #650 from elorzafe/fix-react-build
Browse files Browse the repository at this point in the history
Fix build amplify-react
  • Loading branch information
mlabieniec committed Apr 13, 2018
2 parents 6f700be + 1e086a7 commit 04091ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/aws-amplify-react/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015", "react", "airbnb","es2017"]
"presets": ["es2015", "react"]
}
6 changes: 3 additions & 3 deletions packages/aws-amplify-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "dist/index.js",
"scripts": {
"test": "jest --coverage --updateSnapshot",
"build": "babel src --presets babel-preset-env --out-dir dist --copy-files",
"watch": "babel src --presets babel-preset-env --out-dir dist --copy-files --watch",
"build-with-test": "npm test && npm run build"
"build": "npm run clean && babel src --presets babel-preset-react --out-dir dist --copy-files",
"build-with-test": "npm test && npm run build",
"clean": "rimraf dist"
},
"devDependencies": {
"aws-amplify": "^0.2.14",
Expand Down

0 comments on commit 04091ee

Please sign in to comment.