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
- Host: GitHub
- URL: https://github.com/rohanhacker/glamorous-to-styled-components-codemod
- Owner: Rohanhacker
- Created: 2018-08-14T11:46:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T06:41:35.000Z (almost 8 years ago)
- Last Synced: 2025-08-09T07:13:48.862Z (12 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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!