https://github.com/dtstack/typescript-migration-helper
Help ES6 + React + Redux project migrates to the Typescript project.
https://github.com/dtstack/typescript-migration-helper
migration-tool typescript
Last synced: 8 days ago
JSON representation
Help ES6 + React + Redux project migrates to the Typescript project.
- Host: GitHub
- URL: https://github.com/dtstack/typescript-migration-helper
- Owner: DTStack
- Created: 2020-05-13T03:57:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T03:57:52.000Z (about 5 years ago)
- Last Synced: 2025-06-20T03:58:30.268Z (9 days ago)
- Topics: migration-tool, typescript
- Language: Perl
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typescript-migration-helper
Help ES6 + React + Redux project migrates to the Typescript project.
This is just a helper script, current only tested in **MacOS**. It can't transform old project to Typescript project completely, some situations still need you to solve manually.
# Usage
You need to download the migration.pl script to your project **root** directory, and then exec the command:
> find ./src/**/*.js -exec ./scripts/migration.pl '{}' \;
It means transform all js files below src directory into ts. There put migration.pl file into the scripts directory.