The effortlessly way to run your package.json scripts
To use RunScript it's simple as to run:
npx @gabsf-dev/run-script
Or to install globally:
npm i -g @gabsf-dev/run-script
and run it using:
run-script
After that, just choose the script that you want to run, and RunScript make the rest, since choosing npm
or yarn
to run your script based on the lock file present in the folder, to logging all of the script execution for you.
RunScript provides the following flags:
- -V, --version
Logs the RunScript current version.
npx @gabsf-dev/run-script -V
- -h, --help
Logs the RunScript help.
npx @gabsf-dev/run-script -h
- -v, --view
Only show the scripts listed in your package.json
in a table format.
npx @gabsf-dev/run-script --view
- --ai
With the --ai
flag, you can receive ai thoughts about the scripts presents in the package.json
. It's a coming soon feature, so stay tuned for the future updates.
npx @gabsf-dev/run-script --ai
RunScript is MIT licensed.
Copyright Contributors to the RunScript project.