パッケージの詳細

sort-npm-scripts

EvanLovely930MIT1.1.0

Sort package.json scripts alphabetically. Great as pre-commit hook.

sort, npm-scripts, git-hooks

readme

Sort NPM Scripts

Keep your package.json orderly by alphabetizing the scripts, dependencies, & devDependencies objects by running this script.

Usage

Must be ran in same directory as a package.json

One time run

npx sort-npm-scripts

Install

npm install --save-dev sort-npm-scripts

Great to use with husky & lint-stagged!