@samrose3/codemods
v0.5.6
Published
This project is a test project bootstrapped with [CodeshiftCommunity π](https://www.codeshiftcommunity.com/). Please see the [external packages guide](https://www.codeshiftcommunity.com/docs/external-packages) for more information on how to work with thi
Downloads
35
Readme
Codemods
This project is a test project bootstrapped with CodeshiftCommunity π. Please see the external packages guide for more information on how to work with this repo.
Scripts
npm run dev
Runs the codeshift CLI useful for testing transform files as if they have been published
example: npm run dev -t codemods/10.0.0/transform.ts
Alternatively, you can run npm run dev
to see an interactive list of codemods to choose from.
See the cli reference for more information.
npm run test
Launches the test runner in interactive watch mode.
See the testing guide for more information.
npm run validate
Checks the validity of your codeshift.config.js
file.
See the configuration options for more information.
npm run build
Builds the app for production to the dist
folder.
Publishing
This package can be published to npm via the normal commands npm version
and npm publish
Build tooling
Feel free to replace the preinstalled build tooling & dependencies to suit your needs. The only requirement is that there is a valid codeshift.config.js
in your project root, /src
or /codemods
directories.