Skip to content

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

License

Notifications You must be signed in to change notification settings

nicholas-b-carter/js-react-codemods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published