Skip to content

Commit 2096dc7

Browse files
committed
move babel config to the babelrc
1 parent 359ec76 commit 2096dc7

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
"es2015"
4+
],
5+
"plugins": [
6+
"syntax-async-functions",
7+
"transform-class-properties",
8+
"transform-flow-strip-types",
9+
"transform-object-rest-spread",
10+
"transform-regenerator",
11+
"transform-runtime"
12+
]
13+
}

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
.idea
88
npm-debug.log
99

10+
.babelrc
1011
CONTRIBUTING.md
1112
node_modules
1213
coverage

package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,6 @@
2020
"options": {
2121
"mocha": "--require ./resources/mocha-bootload --check-leaks --full-trace src/**/__tests__/**/*-test.js"
2222
},
23-
"babel": {
24-
"presets": [
25-
"es2015"
26-
],
27-
"plugins": [
28-
"syntax-async-functions",
29-
"transform-class-properties",
30-
"transform-flow-strip-types",
31-
"transform-object-rest-spread",
32-
"transform-regenerator",
33-
"transform-runtime"
34-
]
35-
},
3623
"scripts": {
3724
"test": "npm run lint && npm run check && npm run testonly",
3825
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",

0 commit comments

Comments
 (0)