0.2.1-0 • Published 5 years ago
sushan-tools v0.2.1-0
sushan-tools
A tool collection for easier life.
Install
npm install sushan-tools -g
yarn global add sushan-tools
Usage
$ sushan-tools run ${CMD}
CMD Api
replace-import (deprecated)
options: -i old variable -m old module
It will tansform js fils under src dir replacing code like import oldVariable from "oldModule"
to the new variable and new module you want.
It will also update the dependencies in pkg.json.
(deprecated) It will alter the js code's format.