-
-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 2.96 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 2.96 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "pretty-quick",
"version": "5.0.0-next.2",
"type": "commonjs",
"description": "Get Pretty Quick",
"repository": "prettier/pretty-quick",
"author": "Lucas Azzola <@azz>",
"maintainers": [
"JounQin <[email protected]> (https://www.1stG.me)"
],
"funding": "https://opencollective.com/pretty-quick",
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"bin": "lib/cli.mjs",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/index.mjs",
"exports": {
".": {
"import": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"default": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
}
},
"./*": "./lib/*.js",
"./package.json": "./package.json"
},
"files": [
"bin",
"img",
"lib",
"!**/*.tsbuildinfo"
],
"keywords": [
"git",
"mercurial",
"hg",
"prettier",
"pretty-quick",
"formatting",
"code",
"vcs",
"precommit"
],
"scripts": {
"build": "tsdown",
"format": "prettier --write .",
"lint": "run-p 'lint:*'",
"lint:es": "eslint . --cache",
"lint:tsc": "tsc -p tsconfig.base.json",
"prepare": "patch-package && simple-git-hooks",
"release": "yarn build && clean-pkg-json && changeset publish",
"test": "jest"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"dependencies": {
"@pkgr/core": "^0.3.3",
"ignore": "^7.0.5",
"mri": "^1.2.0",
"picocolors": "^1.1.1",
"picomatch": "^4.0.2",
"tinyexec": "^1.0.1"
},
"devDependencies": {
"@1stg/common-config": "^14.1.0",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.4",
"@commitlint/cli": "^19.8.1",
"@total-typescript/ts-reset": "^0.6.1",
"@types/jest": "^29.5.14",
"@types/mock-fs": "^4.13.4",
"@types/picomatch": "^4.0.0",
"@unts/patch-package": "^8.1.1",
"clean-pkg-json": "^1.3.0",
"eslint": "^9.28.0",
"jest": "^29.7.0",
"mock-fs": "^5.5.0",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.5.3",
"pretty-quick": "link:.",
"simple-git-hooks": "^2.13.0",
"size-limit": "^11.2.0",
"size-limit-preset-node-lib": "^0.4.0",
"ts-jest": "^29.3.4",
"ts-node": "^10.9.2",
"tsdown": "^0.12.5",
"typescript": "^5.8.3"
},
"resolutions": {
"prettier": "^3.5.3"
},
"commitlint": {
"extends": "@1stg"
},
"jest": {
"preset": "ts-jest",
"testMatch": [
"<rootDir>/test/*.spec.ts"
],
"collectCoverage": true,
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^pretty-quick$": "<rootDir>/src",
"^pretty-quick/(.+)$": "<rootDir>/src/$1"
}
},
"prettier": "@1stg/prettier-config",
"size-limit": [
{
"path": "src/index.ts",
"limit": "1.5KB"
}
]
}