An open API service indexing awesome lists of open source software.

https://github.com/nicholas-b-carter/js-react-codemods

A boilerplate of JS 5/6/7 transforms for react/redux/js/etc....
https://github.com/nicholas-b-carter/js-react-codemods

Last synced: 14 days ago
JSON representation

A boilerplate of JS 5/6/7 transforms for react/redux/js/etc....

Awesome Lists containing this project

README

        

# JS React Codemods

Personal collection of transforms for everything from jest tests to es5-6-transforms....

## Resources

Some things that hope helpfully:

### Codeshift/transforms
* https://github.com/sejoker/awesome-jscodeshift
* https://github.com/chadbrewbaker/awesome-ast
* https://github.com/cowchimp/awesome-ast

### AST Explorer
* https://astexplorer.net

## Setup

To get started just run

```
yarn global add jscodeshift
yarn global add jscodemigrate
yarn install
```

## Usage

Run code migrations on the example folder (warning: this will update the contents of example/src):

```
jscodemigrate
```