json-sort-cli 2.0.10 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +2 -7
- package/package.json +7 -6
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2010-
|
|
3
|
+
Copyright (c) 2010-2022 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -26,20 +26,17 @@
|
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
29
|
-
This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required:
|
|
30
|
-
|
|
31
29
|
```bash
|
|
32
30
|
npm i -g json-sort-cli
|
|
33
31
|
```
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
|
|
37
33
|
Then, call it from the command line using one of the following keywords:
|
|
38
34
|
|
|
39
35
|
```bash
|
|
40
36
|
jsonsort
|
|
41
37
|
sortjson
|
|
42
38
|
```
|
|
39
|
+
|
|
43
40
|
## Documentation
|
|
44
41
|
|
|
45
42
|
Please [visit codsen.com](https://codsen.com/os/json-sort-cli/) for a full description of the API.
|
|
@@ -52,8 +49,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
|
|
|
52
49
|
|
|
53
50
|
MIT License
|
|
54
51
|
|
|
55
|
-
Copyright (c) 2010-
|
|
56
|
-
|
|
52
|
+
Copyright (c) 2010-2022 Roy Revelt and other contributors
|
|
57
53
|
|
|
58
54
|
<img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">
|
|
59
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-sort-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.13",
|
|
4
4
|
"description": "Command line app to deep sort JSON files, retains package.json special key order",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"letspublish": "yarn publish || :",
|
|
39
39
|
"lint": "eslint . --fix",
|
|
40
40
|
"prepare": "echo 'ready'",
|
|
41
|
+
"prettier:format": "prettier --write '**/*.{js,md}' --no-error-on-unmatched-pattern",
|
|
41
42
|
"test": "c8 yarn run unit && yarn run lint",
|
|
42
43
|
"unit": "uvu test"
|
|
43
44
|
},
|
|
@@ -58,16 +59,16 @@
|
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
|
-
"ast-monkey-traverse": "^3.0.
|
|
62
|
-
"chalk": "^
|
|
63
|
-
"fs-extra": "^10.0.
|
|
64
|
-
"globby": "^
|
|
62
|
+
"ast-monkey-traverse": "^3.0.13",
|
|
63
|
+
"chalk": "^5.0.1",
|
|
64
|
+
"fs-extra": "^10.0.1",
|
|
65
|
+
"globby": "^13.1.1",
|
|
65
66
|
"is-d": "^1.0.0",
|
|
66
67
|
"lodash.isplainobject": "^4.0.6",
|
|
67
68
|
"meow": "^10.1.2",
|
|
68
69
|
"p-filter": "^3.0.0",
|
|
69
70
|
"p-reduce": "^3.0.0",
|
|
70
|
-
"sort-package-json": "^1.
|
|
71
|
+
"sort-package-json": "^1.55.0",
|
|
71
72
|
"sorted-object": "^2.0.1",
|
|
72
73
|
"update-notifier": "^5.1.0"
|
|
73
74
|
},
|