Skip to content

Commit d4e07f1

Browse files
committed
Upgrade babel to enable typescript syntax
1 parent b5debad commit d4e07f1

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.babelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": [
3+
"@babel/preset-env"
4+
]
35
}

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
"test:watch": "npm test -- --watch"
1515
},
1616
"devDependencies": {
17-
"babel-cli": "^6.14.0",
18-
"babel-core": "^6.14.0",
19-
"babel-eslint": "^7.0.0",
20-
"babel-jest": "^20.0.0",
21-
"babel-polyfill": "^6.16.0",
22-
"babel-preset-es2015": "^6.14.0",
17+
"@babel/cli": "^7.0.0",
18+
"@babel/core": "^7.0.0",
19+
"@babel/polyfill": "^7.0.0",
20+
"@babel/preset-env": "^7.0.0",
21+
"babel-core": "^7.0.0-bridge.0",
22+
"babel-eslint": "^9.0.0",
23+
"babel-jest": "^23.4.2",
2324
"babylon": "^6.17.2",
2425
"coveralls": "^2.11.8",
2526
"eslint": "^3.12.1",

0 commit comments

Comments
 (0)