-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
119 lines (119 loc) · 3.06 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"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/)",
"type": "module",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./index.d.ts",
"default": "./cjs/index.js"
}
}
},
"types": "index.d.ts",
"bin": "cli.js",
"files": [
"cjs",
"index.js",
"index.d.ts",
"cli.js",
"reporter.js"
],
"scripts": {
"build": "esbuild index.js --bundle --platform=node --alias:git-hooks-list=./git-hooks-list_shim.cjs --outfile=./cjs/index.js && ncp package.cjs.json ./cjs/package.json",
"fix": "eslint . --fix && prettier . \"!**/*.js\" --write && node cli.js \"package.json\"",
"lint": "eslint . && prettier . \"!**/*.js\" --check && node cli.js \"package.json\" --check",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release",
"test": "ava && dtslint --localTs node_modules/typescript/lib",
"test-coverage": "nyc ava",
"update-snapshots": "ava --update-snapshots"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"package.json": [
"node cli.js"
],
"*.js": [
"eslint --fix"
],
"**/*,!*.js": [
"prettier --write --ignore-unkown"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"extends": [
"standard",
"plugin:prettier/recommended"
]
},
"ava": {
"verbose": true
},
"dependencies": {
"detect-indent": "^7.0.1",
"detect-newline": "^4.0.0",
"get-stdin": "^9.0.0",
"git-hooks-list": "^3.0.0",
"is-plain-obj": "^4.1.0",
"semver": "^7.6.0",
"sort-object-keys": "^1.1.3",
"tinyglobby": "^0.2.9"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"ava": "^4.3.3",
"del": "^7.0.0",
"dot-prop": "^7.2.0",
"dtslint": "^4.2.1",
"esbuild": "^0.20.2",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.3.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"make-dir": "^3.1.0",
"ncp": "^2.0.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"resolve": "^1.22.1",
"semantic-release": "^19.0.5",
"tempy": "^2.0.0",
"typescript": "^4.8.4"
}
}