1.0.3 • Published 6 years ago

strudel-codemod v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

strudel-codemod

This repository contains codemod scripts to use with JSCodeshift that help update Strudel.

Usage

npx strudel-codemod <transformer> <path>

Included Transforms

evt-new-syntax

Converts single argument in Evt (e.g., @Evt('click selector')) to multiple argument (e.g., @Evt('click', 'selector')).

npx strudel-codemod evt-new-syntax <path>

Recast Options

Options to recast's printer can be provided through the printOptions command line argument

npx strudel-codemod <transformer> --printOptions='{"quote":"double"}'

License

MIT

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago