Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Remove typescript-transformer.
Browse files Browse the repository at this point in the history
User preset-typescript instead.
  • Loading branch information
hyochan committed Dec 31, 2018
1 parent 9aa5698 commit 6a54440
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 210 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["module:metro-react-native-babel-preset"],
"presets": ["module:metro-react-native-babel-preset", "@babel/preset-typescript"],
"sourceMaps": "inline",
"plugins": [
[
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ app/
├─ index.js
├─ package.json
├─ README.md
├─ rn-cli.config.js
├─ STRINGS.js
├─ tsconfig.json
└─ tslint.json
Expand Down
3 changes: 1 addition & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"sourceExts": [
"ts",
"tsx"
],
"transformer": "node_modules/react-native-typescript-transformer/index.js"
]
}
}
214 changes: 18 additions & 196 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.2",
"@babel/runtime": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@types/enzyme": "^3.1.15",
"@types/jest": "^23.3.10",
"@types/react": "^16.7.17",
Expand All @@ -65,7 +65,6 @@
"jsc-android": "^236355.1.1",
"metro-react-native-babel-preset": "^0.49.2",
"react-dom": "^16.6.3",
"react-native-typescript-transformer": "^1.2.10",
"react-test-renderer": "^16.6.3",
"ts-jest": "^23.10.5",
"tslib": "^1.9.3",
Expand Down
8 changes: 0 additions & 8 deletions rn-cli.config.js

This file was deleted.

0 comments on commit 6a54440

Please sign in to comment.