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

https://github.com/rohanhacker/glamorous-to-styled-components-codemod

glamorous to styled components codemod
https://github.com/rohanhacker/glamorous-to-styled-components-codemod

Last synced: 11 months ago
JSON representation

glamorous to styled components codemod

Awesome Lists containing this project

README

          

[![npm version](https://badge.fury.io/js/glamorous-to-styled-components-codemod.svg)](https://badge.fury.io/js/glamorous-to-styled-components-codemod)

# glamorous → styled components

Demo - https://astexplorer.net/#/gist/a870e9dd1b4e136ee8e42c365170703c/latest

## Usage
You'll need to use [`babel-codemod`](https://github.com/square/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"`

## ALL CONTRIBUTIONS WELCOME!