forked from keithamus/sort-package-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "sort-package-json",
"version": "0.0.0-development",
"description": "Sort an Object or package.json based on the well-known package.json keys",
"keywords": [
"keys",
"object",
"sort"
],
"homepage": "https://github.com/keithamus/sort-package-json#readme",
"bugs": {
"url": "https://github.com/keithamus/sort-package-json/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/keithamus/sort-package-json.git"
},
"license": "MIT",
"author": "Keith Cirkel <[email protected]> (http://keithcirkel.co.uk/)",
"main": "index.js",
"types": "index.d.ts",
"bin": "cli.js",
"files": [
"index.js",
"index.d.ts",
"cli.js"
],
"scripts": {
"lint": "eslint .",
"semantic-release": "semantic-release",
"sort-package-json": "node cli.js package.json --check",
"test": "ava",
"test-coverage": "nyc ava",
"update-snapshot": "ava -u && node cli.js package.json"
},
"husky": {
"hooks": {
"pre-commit": "npm t && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"*.ts": [
"prettier --write"
],
"package.json": [
"node cli.js"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"extends": [
"standard",
"plugin:prettier/recommended",
"prettier/standard"
]
},
"ava": {
"verbose": true
},
"dependencies": {
"detect-indent": "^6.0.0",
"detect-newline": "3.1.0",
"git-hooks-list": "1.0.3",
"globby": "11.0.0",
"is-plain-obj": "2.1.0",
"sort-object-keys": "^1.1.3"
},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"ava": "3.5.1",
"del": "5.1.0",
"dot-prop": "^5.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"make-dir": "3.0.2",
"nyc": "^15.0.0",
"prettier": "^2.0.4",
"semantic-release": "17.0.5",
"tempy": "0.4.0"
}
}