Skip to content

Commit 47650f6

Browse files
committed
Add typescript babel preset
1 parent 2622f42 commit 47650f6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"@babel/preset-env": "^7.1.0",
3939
"@babel/preset-flow": "^7.0.0",
4040
"@babel/preset-react": "^7.0.0",
41+
"@babel/preset-typescript": "^7.1.0",
4142
"autoprefixer": "8.5.0",
4243
"babel-core": "7.0.0-bridge.0",
4344
"babel-jest": "^23.6.0",

yarn.lock

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,13 @@
494494
dependencies:
495495
"@babel/helper-plugin-utils" "^7.0.0"
496496

497+
"@babel/plugin-syntax-typescript@^7.2.0":
498+
version "7.2.0"
499+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.2.0.tgz#55d240536bd314dcbbec70fd949c5cabaed1de29"
500+
integrity sha512-WhKr6yu6yGpGcNMVgIBuI9MkredpVc7Y3YR4UzEZmDztHoL6wV56YBHLhWnjO1EvId1B32HrD3DRFc+zSoKI1g==
501+
dependencies:
502+
"@babel/helper-plugin-utils" "^7.0.0"
503+
497504
"@babel/plugin-transform-arrow-functions@^7.0.0":
498505
version "7.0.0"
499506
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0.tgz#a6c14875848c68a3b4b3163a486535ef25c7e749"
@@ -892,6 +899,14 @@
892899
dependencies:
893900
"@babel/helper-plugin-utils" "^7.0.0"
894901

902+
"@babel/plugin-transform-typescript@^7.1.0":
903+
version "7.2.0"
904+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.2.0.tgz#bce7c06300434de6a860ae8acf6a442ef74a99d1"
905+
integrity sha512-EnI7i2/gJ7ZNr2MuyvN2Hu+BHJENlxWte5XygPvfj/MbvtOkWor9zcnHpMMQL2YYaaCcqtIvJUyJ7QVfoGs7ew==
906+
dependencies:
907+
"@babel/helper-plugin-utils" "^7.0.0"
908+
"@babel/plugin-syntax-typescript" "^7.2.0"
909+
895910
"@babel/plugin-transform-unicode-regex@^7.0.0":
896911
version "7.0.0"
897912
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0.tgz#c6780e5b1863a76fe792d90eded9fcd5b51d68fc"
@@ -1024,6 +1039,14 @@
10241039
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
10251040
"@babel/plugin-transform-react-jsx-source" "^7.0.0"
10261041

1042+
"@babel/preset-typescript@^7.1.0":
1043+
version "7.1.0"
1044+
resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.1.0.tgz#49ad6e2084ff0bfb5f1f7fb3b5e76c434d442c7f"
1045+
integrity sha512-LYveByuF9AOM8WrsNne5+N79k1YxjNB6gmpCQsnuSBAcV8QUeB+ZUxQzL7Rz7HksPbahymKkq2qBR+o36ggFZA==
1046+
dependencies:
1047+
"@babel/helper-plugin-utils" "^7.0.0"
1048+
"@babel/plugin-transform-typescript" "^7.1.0"
1049+
10271050
"@babel/runtime@^7.0.0":
10281051
version "7.1.5"
10291052
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.1.5.tgz#4170907641cf1f61508f563ece3725150cc6fe39"

0 commit comments

Comments
 (0)