Use separate .babelrc file
This commit is contained in:
parent
db5ada9032
commit
692332659a
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"presets": [
|
||||
"es2015-loose",
|
||||
"stage-1",
|
||||
"react"
|
||||
],
|
||||
"plugins": [
|
||||
"transform-object-assign"
|
||||
]
|
||||
}
|
12
package.json
12
package.json
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue