1.0.2 • Published 6 years ago

broccoli-jscodeshift v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

broccoli-jscodeshift Build Status

Installation

yarn add broccoli-jscodeshift

Usage

// Brocfile.js
const JSCodeShift = require('broccoli-jscodeshift');

module.export = new JSCodeShift(['./src'], {
  transform: 'https://raw.githubusercontent.com/mikaelbr/rm-debugger/master/index.js'
});

Arguments

input              : (required) The input node, either a Broccoli tree or array of strings
options
  .transform       : (required) A path to the transform to execute
  .resultsCallback : (optional) A callback to execute with the results from JSCodeShift`