JARVIS is a tool which will profoundly transform the way how you write codemods.
JARVIS is actually a playground for writing codemods, where in you can specify the input and output code, choose the appropriate transformation you want to apply and the codemod is automatically generated for you.
Read the introductory blog post here
- Support various AST node operations like replace, remove, insert before and after.
- Write concise codemods using Smart Update
- Support for JavasScript and Handlebars
- Copy the generated codemod to clipboard
- Download the generated codemods as a codemod-cli project and run in local
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd jarvis
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.