react-native-tsx

1.0.1Β β€’Β PublicΒ β€’Β Published

πŸ”„ react-native-tsx

Convert your React Native project from JavaScript to Typescript using default settings.

What's inside?

A simple command line tool that allows you to run your React Native project as a Typescript project.

What's NOT inside?

A few minutes of manual labor defining types and conforming to Typescript protocols after react-native-tsx converts all your js and jsx files to Typescript.

Getting Started

  1. Run npm install -g react-native-tsx to globally install this command line tool.
  2. Navigate to your project's directory.
  3. Run react-native-tsx.

Contributing

If you'd like to improve and/or expand the content of this library, feel free to submit pull requests. If you experience any issues with this code, please let me know promptly.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Michal Zamorski at ITNEXT for this article on manual TSX conversion.
  • Vicki Shao for all the support and flames! πŸ”₯

Package Sidebar

Install

npm i react-native-tsx

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.65 kB

Total Files

6

Last publish

Collaborators

  • anthonykrivonos