Skip to content

Commit

Permalink
move babel config to the babelrc (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Lacker authored and leebyron committed Jun 10, 2016
1 parent 0bbdaec commit 42dcb88
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
"es2015"
],
"plugins": [
"syntax-async-functions",
"transform-class-properties",
"transform-flow-strip-types",
"transform-object-rest-spread",
"transform-regenerator",
"transform-runtime"
]
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.idea
npm-debug.log

.babelrc
CONTRIBUTING.md
node_modules
coverage
Expand Down
13 changes: 0 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,6 @@
"options": {
"mocha": "--require ./resources/mocha-bootload --check-leaks --full-trace src/**/__tests__/**/*-test.js"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"syntax-async-functions",
"transform-class-properties",
"transform-flow-strip-types",
"transform-object-rest-spread",
"transform-regenerator",
"transform-runtime"
]
},
"scripts": {
"test": "npm run lint && npm run check && npm run testonly",
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",
Expand Down

0 comments on commit 42dcb88

Please sign in to comment.