Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buildo/ts-codemod-scripts
collection of basic JS/React codemod scripts to prepare for TS on a codebase
https://github.com/buildo/ts-codemod-scripts
Last synced: 25 days ago
JSON representation
collection of basic JS/React codemod scripts to prepare for TS on a codebase
- Host: GitHub
- URL: https://github.com/buildo/ts-codemod-scripts
- Owner: buildo
- Created: 2017-05-22T13:22:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T17:12:54.000Z (over 7 years ago)
- Last Synced: 2024-11-20T00:37:23.771Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-codemods - ts-codemod-scripts - Collection of basic JS/React codemod scripts to prepare for TS on a codebase. (Typescript)
README
You'll need to `npm i -g jscodeshift` first.
Dry run a script as
```sh
jscodeshift -t path/to/codemod.js /path/to/project/src -d
```Run a script as
```sh
jscodeshift -t path/to/codemod.js /path/to/project/src
```