A tool of list nodejs project node scripts and execute it.
npm i -g lls-cli
Requirement: Node version >= 16.0.0
Execute lls
in the project root directory, you will see node scripts list.
Auto use your project packageManager (pnpm
,yarn
,npm
) run it.
$ lls
? select node script › - Use arrow-keys. Return to submit.
❯ fmt - prettier --write .
dev
build
pnpm run fmt
# or
yarn run fmt
# or
npm run fmt
MIT