glamorous-to-styled-components-codemod
v1.0.14
Published
[![npm version](https://badge.fury.io/js/glamorous-to-styled-components-codemod.svg)](https://badge.fury.io/js/glamorous-to-styled-components-codemod)
Downloads
135
Maintainers
Readme
glamorous → styled components
Demo - https://astexplorer.net/#/gist/a870e9dd1b4e136ee8e42c365170703c/latest
Usage
You'll need to use babel-codemod
to apply this codemod to your existing codebase. It should be pretty straightforward:
First, install this plugin:
yarn add glamorous-to-styled-components-codemod -D
Then run it:
codemod --plugin glamorous-to-styled-components-codemod "src/**/*.js"