$ git clone [email protected]:vutran/preact-codemod.git
- Switch to the new
preact-codemod
directory that was created in step 1.
$ cd preact-codemod
- Install
npm
dependencies.
$ npm install
- Create a transform in the
./transforms
directory. - Create a test fixture in the
./__testfixtures__
directory. - Create a test in the
./__tests__
directory. - Submit a Pull Request if you have something great to contribute and a review will proceed.
Found a bug? Submit it to the issue tracker and/or send a Pull Request so we can get it squashed.
If you have an idea for a feature, please post them to the issues tracker and we can discuss. Not all features will be implemented.
Make sure your transforms are accompanied by a test fixture and a test. Submit all Pull Requests to the master branch. If you have an idea and don't know if it will get accepted, please file an issue and we can discuss whether it could be merged into core.
All feedback and suggestions for preact-codemod
are welcomed. If you have one, please send a tweet to @tranvu and we can discuss.