Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 2.54 KB

README.md

File metadata and controls

77 lines (50 loc) · 2.54 KB

jarvis

Build and Deploy Coverage Status

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

screenshot

Features

  • 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

Related Tools

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd jarvis
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links