depensort
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-development.3 • Public • Published

depensort

a package that helps you keep a beautiful looking package.json that has been sorted as per your configuration

Documentation site

NPM

NPM version NPM size NPM vunerabilities

GitHub

GitHub License GitHub issues GitHub PRs GitHub Milestones GitHub Sponsors

Installation

yarn add depensort --dev
npm i -D depensort

Usage

The package is used to sort the dependencies in the package.json file in ascending order of key length after every install(or on command)

1. Set the package to run after every install

"scripts":{
	"postinstall":"depensort"
}

2. Call it manually

From the cmd

  • Install the package globally
npm i -g depensort

OR

yarn global add depensort
  • Call it from the cmd
depensort

For the devs

Refer to the Developer Release Documentation

use the yarn link in the package's folder

and yarn link "depensort" in the folder you want to test the package in

this will install the package as a symbolic link in the test folder

now you can now use the package as if it was installed.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Some files to refer

Please make sure to update tests as appropriate.

License

LICENSE

Package Sidebar

Install

npm i depensort

Weekly Downloads

5

Version

1.0.0-development.3

License

ISC

Unpacked Size

16.5 kB

Total Files

27

Last publish

Collaborators

  • officialkarthikk