broccoli-jscodeshift

1.0.2 • Public • Published

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`

Readme

Keywords

none

Package Sidebar

Install

npm i broccoli-jscodeshift

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

161 kB

Total Files

8

Last publish

Collaborators

  • alexlafroscia