Socket
Socket
Sign inDemoInstall

sort-package-json

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-package-json - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

1

index.js

@@ -110,2 +110,3 @@ #!/usr/bin/env node

'eslintConfig',
'eslintIgnore',
'stylelint',

@@ -112,0 +113,0 @@ 'jest',

2

package.json
{
"name": "sort-package-json",
"version": "1.9.0",
"version": "1.10.0",
"description": "Sort an Object or package.json based on the well-known package.json keys",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,5 +1,3 @@

## Sort Package.json
Sort Package.json
[![Build Status](https://travis-ci.org/keithamus/sort-package-json.svg)](https://travis-ci.org/keithamus/sort-package-json)

@@ -57,10 +55,18 @@

`sort-package-json` also supports a single argument, telling it where it can find package.json file(s).
`sort-package-json` also supports arguments - so you can give it a bunch of package.json file(s) to sort.
```bash
$ sort-package-json packages/*/package.json
$ sort-package-json my-package/package.json other-package/package.json
```
### Install
### Run (with npm@5.2+)
```sh
npx sort-package-json
```
### Install Permanently
#### API

@@ -67,0 +73,0 @@ ```sh

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc