New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sort-npm-scripts

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-npm-scripts

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

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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!

Keywords

sort

FAQs

Package last updated on 02 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts