Skip to content

Commit

Permalink
Moved babel config from package json to babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
pshev committed Nov 17, 2017
1 parent e0154f7 commit 56f278c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
16 changes: 16 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"presets": [
"es2015",
"stage-2",
"react"
],
"plugins": [
"transform-object-rest-spread",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
}
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
src
.npmignore
.npmignore
.babelrc
18 changes: 1 addition & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@petershev/preact-redux",
"version": "1.0.0",
"version": "1.0.1",
"description": "simple preact-redux bindings",
"main": "index.js",
"scripts": {
Expand All @@ -19,22 +19,6 @@
"babel-preset-react": "6.23.0",
"babel-preset-stage-2": "6.22.0"
},
"babel": {
"presets": [
"es2015",
"stage-2",
"react"
],
"plugins": [
"transform-object-rest-spread",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"dependencies": {
"fbjs": "0.8.12",
"hoist-non-react-statics": "1.2.0",
Expand Down

0 comments on commit 56f278c

Please sign in to comment.