Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goncy committed Jun 9, 2018
1 parent 6c17afa commit a560f6b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 38 deletions.
18 changes: 15 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"presets": [
["env", {"modules": false}],
["env", { "loose": true, "modules": false }],
"react"
],
"plugins": [
"transform-class-properties"
]
["transform-class-properties", { "loose": true }]
],
"env": {
"cjs": {
"plugins": [
"transform-es2015-modules-commonjs"
]
},
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
}
}
46 changes: 11 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"rollup-plugin-uglify": "^4.0.0"
},
"dependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-spring": "^5.3.8"
Expand Down

0 comments on commit a560f6b

Please sign in to comment.