-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.66 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 2.66 KB
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
104
105
106
107
108
{
"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://git@github.com/keithamus/sort-package-json.git"
},
"license": "MIT",
"author": "Keith Cirkel <npm@keithcirkel.co.uk> (http://keithcirkel.co.uk/)",
"type": "module",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./index.d.ts",
"default": "./index.cjs"
}
}
},
"types": "index.d.ts",
"bin": "cli.js",
"files": [
"index.js",
"index.d.ts",
"cli.js",
"reporter.js",
"index.cjs"
],
"scripts": {
"build": "esbuild index.js --bundle --platform=node --outfile=index.cjs --external:semver --external:git-hooks-list",
"fix": "eslint . --fix && prettier . --write && node cli.js \"package.json\"",
"lint": "eslint . && prettier . \"!**/*.js\" --check && node cli.js \"package.json\" --check",
"prepare": "husky",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release",
"test": "ava && tstyche",
"test-coverage": "c8 npm run test",
"update-snapshots": "ava --update-snapshots"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"package.json": [
"node cli.js"
],
"*.js": [
"eslint --fix"
],
"**/*": [
"prettier --write --ignore-unknown"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"ava": {
"verbose": true
},
"dependencies": {
"detect-indent": "^7.0.2",
"detect-newline": "^4.0.1",
"git-hooks-list": "^4.1.1",
"is-plain-obj": "^4.1.0",
"semver": "^7.7.3",
"sort-object-keys": "^2.0.1",
"tinyglobby": "^0.2.15"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.39.1",
"ava": "^6.4.1",
"c8": "^10.1.3",
"dot-prop": "^10.1.0",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-promise": "^7.2.1",
"globals": "^16.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.1",
"semantic-release": "^25.0.2",
"tempy": "^3.1.0",
"tstyche": "^5.0.1"
},
"engines": {
"node": ">=20"
}
}