Permalink
Browse files

fix build refactor

  • Loading branch information...
gilbarbara committed Dec 5, 2017
1 parent 052a3d5 commit a54b55bc4f2590fbbd2485be08eb1eef406f1e11
Showing with 27 additions and 13 deletions.
  1. +17 −2 .babelrc
  2. +9 −9 package-lock.json
  3. +1 −1 package.json
  4. +0 −1 src/index.js
View
@@ -16,12 +16,27 @@
"production": {
"plugins": [
"array-includes",
"transform-flow-strip-types"
"transform-flow-strip-types",
"transform-object-assign"
]
},
"commonjs": {
"presets": [
[
"env", {
"useBuiltIns": true,
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
}
}
],
"react",
"stage-1"
],
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
"array-includes",
"transform-flow-strip-types",
"transform-object-assign"
]
},
"test": {
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -51,7 +51,7 @@
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
View
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import Payment from 'payment';
import './styles.scss';
class ReactCreditCards extends React.Component {
constructor(props) {

0 comments on commit a54b55b

Please sign in to comment.