1{
2 "name": "prettier",
3 "version": "3.6.2",
4 "description": "Prettier is an opinionated code formatter",
5 "bin": "./bin/prettier.cjs",
6 "repository": "prettier/prettier",
7 "funding": "https://github.com/prettier/prettier?sponsor=1",
8 "homepage": "https://prettier.io",
9 "author": "James Long",
10 "type": "module",
11 "license": "MIT",
12 "main": "./src/index.cjs",
13 "browser": "./standalone.js",
14 "unpkg": "./standalone.js",
15 "exports": {
16 ".": {
17 "types": "./src/index.d.ts",
18 "require": "./src/index.cjs",
19 "default": "./src/index.js"
20 },
21 "./standalone": "./src/standalone.js",
22 "./plugins/*": "./src/plugins/*.js",
23 "./*": "./*"
24 },
25 "engines": {
26 "node": ">=18"
27 },
28 "files": [
29 "index.js",
30 "standalone.js",
31 "src",
32 "bin"
33 ],
34 "dependencies": {
35 "@angular/compiler": "20.0.5",
36 "@babel/code-frame": "7.27.1",
37 "@babel/parser": "7.27.7",
38 "@babel/types": "7.27.7",
39 "@glimmer/syntax": "0.94.9",
40 "@prettier/cli": "0.9.0",
41 "@prettier/html-tags": "1.0.0",
42 "@prettier/parse-srcset": "3.1.0",
43 "@typescript-eslint/typescript-estree": "8.34.1",
44 "@typescript-eslint/visitor-keys": "8.34.1",
45 "acorn": "8.15.0",
46 "acorn-jsx": "5.3.2",
47 "angular-estree-parser": "12.1.0",
48 "angular-html-parser": "8.1.0",
49 "camelcase": "8.0.0",
50 "ci-info": "4.2.0",
51 "cjk-regex": "3.3.0",
52 "collapse-white-space": "1.0.6",
53 "css-units-list": "2.1.0",
54 "dashify": "2.0.0",
55 "deno-path-from-file-url": "0.0.3",
56 "diff": "8.0.2",
57 "editorconfig": "0.15.3",
58 "emoji-regex": "10.4.0",
59 "escape-string-regexp": "5.0.0",
60 "espree": "10.4.0",
61 "fast-glob": "3.3.3",
62 "fast-json-stable-stringify": "2.1.0",
63 "file-entry-cache": "10.1.1",
64 "find-cache-directory": "6.0.0",
65 "flow-parser": "0.274.1",
66 "get-east-asian-width": "1.3.0",
67 "get-stdin": "9.0.0",
68 "graphql": "16.11.0",
69 "hermes-parser": "0.29.0",
70 "html-element-attributes": "3.4.0",
71 "html-ua-styles": "0.0.8",
72 "ignore": "7.0.5",
73 "import-meta-resolve": "4.1.0",
74 "index-to-position": "1.1.0",
75 "is-es5-identifier-name": "1.0.0",
76 "jest-docblock": "30.0.1",
77 "json5": "2.2.3",
78 "leven": "4.0.0",
79 "linguist-languages": "8.0.0",
80 "meriyah": "6.1.3",
81 "micromatch": "4.0.8",
82 "minimist": "1.2.8",
83 "n-readlines": "1.0.1",
84 "outdent": "0.8.0",
85 "oxc-parser": "0.75.0",
86 "parse-json": "8.3.0",
87 "picocolors": "1.1.1",
88 "please-upgrade-node": "3.2.0",
89 "postcss": "8.5.6",
90 "postcss-less": "6.0.0",
91 "postcss-media-query-parser": "0.2.3",
92 "postcss-scss": "4.0.9",
93 "postcss-selector-parser": "2.2.3",
94 "postcss-values-parser": "2.0.1",
95 "regexp-util": "2.0.3",
96 "remark-footnotes": "2.0.0",
97 "remark-math": "3.0.1",
98 "remark-parse": "8.0.3",
99 "sdbm": "2.0.0",
100 "search-closest": "1.1.0",
101 "smol-toml": "1.3.4",
102 "strip-ansi": "7.1.0",
103 "to-fast-properties": "4.0.0",
104 "trim-newlines": "5.0.0",
105 "typescript": "5.8.3",
106 "unicode-regex": "4.1.2",
107 "unified": "9.2.2",
108 "url-or-path": "2.6.1",
109 "vnopts": "2.0.2",
110 "wcwidth.js": "2.0.0",
111 "yaml": "1.10.2",
112 "yaml-unist-parser": "2.0.5"
113 },
114 "devDependencies": {
115 "@babel/generator": "7.27.5",
116 "@eslint-react/eslint-plugin": "1.52.2",
117 "@eslint/js": "9.29.0",
118 "@stylistic/eslint-plugin": "5.0.0",
119 "@types/estree": "1.0.8",
120 "@typescript-eslint/eslint-plugin": "8.34.1",
121 "@typescript-eslint/parser": "8.34.1",
122 "browserslist": "4.25.1",
123 "browserslist-to-esbuild": "2.1.1",
124 "buffer": "6.0.3",
125 "c8": "10.1.3",
126 "cross-env": "7.0.3",
127 "cspell": "9.1.1",
128 "enquirer": "2.4.1",
129 "esbuild": "0.25.5",
130 "esbuild-plugins-node-modules-polyfill": "1.7.1",
131 "esbuild-visualizer": "0.7.0",
132 "eslint": "9.29.0",
133 "eslint-config-prettier": "10.1.5",
134 "eslint-formatter-friendly": "7.0.0",
135 "eslint-plugin-compat": "6.0.2",
136 "eslint-plugin-jest": "29.0.1",
137 "eslint-plugin-n": "17.20.0",
138 "eslint-plugin-regexp": "2.9.0",
139 "eslint-plugin-simple-import-sort": "12.1.1",
140 "eslint-plugin-unicorn": "59.0.1",
141 "esm-utils": "4.4.2",
142 "globals": "16.2.0",
143 "jest": "30.0.3",
144 "jest-light-runner": "0.7.9",
145 "jest-snapshot-serializer-ansi": "2.2.1",
146 "jest-snapshot-serializer-raw": "2.0.0",
147 "jest-watch-typeahead": "3.0.1",
148 "knip": "5.61.2",
149 "magic-string": "0.30.17",
150 "nano-spawn": "1.0.2",
151 "node-style-text": "0.0.8",
152 "npm-run-all2": "8.0.4",
153 "prettier": "3.6.1",
154 "pretty-bytes": "7.0.0",
155 "pretty-ms": "9.2.0",
156 "rollup-plugin-license": "3.6.0",
157 "semver": "7.7.2",
158 "serialize-javascript": "6.0.2",
159 "snapshot-diff": "0.10.0",
160 "tempy": "3.1.0",
161 "tinybench": "4.0.1",
162 "ts-expect": "1.3.0"
163 },
164 "resolutions": {
165 "trim": "1.0.1"
166 },
167 "scripts": {
168 "prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
169 "test": "jest",
170 "test:dev-package": "cross-env INSTALL_PACKAGE=1 yarn test",
171 "test:production": "cross-env NODE_ENV=production yarn test",
172 "test:production-standalone": "cross-env TEST_STANDALONE=1 yarn test:production",
173 "test:production-lint": "eslint dist/prettier --config=./scripts/bundle-eslint-config.js --quiet --format friendly",
174 "perf": "yarn && yarn build && cross-env NODE_ENV=production node ./dist/prettier/bin/prettier.cjs",
175 "perf:inspect": "yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/prettier/bin/prettier.cjs",
176 "perf:benchmark": "yarn perf --debug-benchmark",
177 "perf:compare": "./scripts/benchmark/compare.sh",
178 "lint": "run-p --continue-on-error \"lint:*\"",
179 "lint:typecheck": "tsc",
180 "lint:eslint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
181 "lint:changelog": "node ./scripts/lint-changelog.js",
182 "lint:prettier": "prettier . --check --cache",
183 "lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
184 "lint:deps": "node ./scripts/check-deps.js",
185 "lint:knip": "knip",
186 "lint:format-test": "node ./scripts/format-test-lint.js",
187 "fix": "run-s --continue-on-error fix:eslint fix:prettier",
188 "fix:eslint": "yarn lint:eslint --fix",
189 "fix:prettier": "yarn lint:prettier --write",
190 "build": "node ./scripts/build/build.js",
191 "build:website": "node ./scripts/build-website.js",
192 "gen:changelog": "node ./scripts/generate-changelog.js",
193 "debug": "node bin/prettier.js --ignore-path=.prettierignore --plugin=./packages/plugin-oxc/index.js --plugin=./packages/plugin-hermes/index.js",
194 "debug:watch": "node --watch bin/prettier.js --ignore-path=.prettierignore --plugin=./packages/plugin-oxc/index.js --plugin=./packages/plugin-hermes/index.js",
195 "debug:inspect": "node --inspect-brk bin/prettier.js --ignore-path=.prettierignore --plugin=./packages/plugin-oxc/index.js --plugin=./packages/plugin-hermes/index.js"
196 },
197 "c8": {
198 "reporter": [
199 "lcov",
200 "text"
201 ],
202 "all": true,
203 "include": [
204 "src/**",
205 "bin/**"
206 ],
207 "exclude": [
208 "bin/prettier.js",
209 "src/standalone.js",
210 "src/index.cjs",
211 "src/document/debug.js",
212 "src/utils/unexpected-node-error.js",
213 "src/language-js/types/estree.d.ts",
214 "src/**/**/*.d.ts"
215 ]
216 },
217 "browserslist": [
218 ">0.5%",
219 "not dead",
220 "not op_mini all"
221 ],
222 "preferUnplugged": true,
223 "packageManager": "yarn@4.9.2"
224}