/
package.json
141 lines (141 loc) · 3.12 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "pretty-quick",
"version": "4.0.0",
"description": "Get Pretty Quick",
"repository": "prettier/pretty-quick",
"author": "Lucas Azzola <@azz>",
"maintainers": [
"JounQin (https://www.1stG.me) <admin@1stg.me>"
],
"license": "MIT",
"packageManager": "yarn@3.6.4",
"engines": {
"node": ">=14"
},
"bin": "lib/cli.mjs",
"main": "lib/index.js",
"module": "lib/index.esm.mjs",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"default": "./lib/index.esm.mjs"
},
"./*": "./lib/*.js",
"./package.json": "./package.json"
},
"types": "lib/index.d.ts",
"files": [
"bin",
"img",
"lib",
"!**/*.tsbuildinfo"
],
"keywords": [
"git",
"mercurial",
"hg",
"prettier",
"pretty-quick",
"formatting",
"code",
"vcs",
"precommit"
],
"scripts": {
"build": "run-p 'build:*'",
"build:r": "r -f esm",
"build:tsc": "tsc -b",
"lint": "run-p 'lint:*'",
"lint:es": "eslint . --cache",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks",
"release": "yarn build && clean-pkg-json && changeset publish",
"test": "jest"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"dependencies": {
"execa": "^5.1.1",
"find-up": "^5.0.0",
"ignore": "^5.3.0",
"mri": "^1.2.0",
"picocolors": "^1.0.0",
"picomatch": "^3.0.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@1stg/lib-config": "^12.0.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^17.8.1",
"@pkgr/rollup": "^4.1.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/jest": "^29.5.11",
"@types/mock-fs": "^4.13.4",
"@types/picomatch": "^2.3.3",
"@unts/patch-package": "^8.0.0",
"clean-pkg-json": "^1.2.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"lint-staged": "^13.3.0",
"mock-fs": "^4.14.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.3",
"pretty-quick": "link:.",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.0.2",
"size-limit-preset-node-lib": "^0.3.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"resolutions": {
"@1stg/prettier-config": "^4.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.3"
},
"commitlint": {
"extends": "@1stg"
},
"eslintConfig": {
"extends": "@1stg",
"rules": {
"unicorn/prefer-node-protocol": "off"
},
"overrides": [
{
"files": "__mocks__/*.*",
"env": {
"jest": true
}
}
]
},
"eslintIgnore": [
"coverage",
"lib",
"!/.*.js"
],
"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": "1KB"
}
]
}