Use separate .babelrc file

This commit is contained in:
Michael Jackson 2016-08-02 15:58:11 -07:00
parent db5ada9032
commit 692332659a
2 changed files with 10 additions and 12 deletions

10
.babelrc Normal file
View File

@ -0,0 +1,10 @@
{
"presets": [
"es2015-loose",
"stage-1",
"react"
],
"plugins": [
"transform-object-assign"
]
}

View File

@ -1,6 +1,4 @@
{
"description": "The website for npmcdn.com",
"author": "Michael Jackson",
"scripts": {
"start": "heroku local -f Procfile.local",
"build": "npm run build-assets && npm run build-lib",
@ -62,15 +60,5 @@
},
"engines": {
"node": "5.8.x"
},
"babel": {
"presets": [
"es2015-loose",
"stage-1",
"react"
],
"plugins": [
"transform-object-assign"
]
}
}