codemod-cli-demo
A collection of codemods for codemod-cli-demo.
Usage
To run a specific codemod from this project, you would run the following:
npx codemod-cli-demo <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
# or
yarn global add codemod-cli-demo
codemod-cli-demo <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
Local Usage
node ./bin/cli.js <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
Transforms
Contributing
Installation
- clone the repo
- change into the repo directory
yarn
Running tests
yarn test
Update Documentation
yarn update-docs