broccoli-jscodeshift
1.0.2 • Public • Published broccoli-jscodeshift
Installation
yarn add broccoli-jscodeshift
Usage
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
nonePackage Sidebar
Install
npm i broccoli-jscodeshift
Weekly Downloads