Files
test-repo/package.json
T

217 lines
6.6 KiB
JSON

{
"name": "prettier",
"version": "4.0.0-alpha.9",
"description": "Prettier is an opinionated code formatter",
"bin": "./bin/prettier.cjs",
"repository": "prettier/prettier",
"funding": "https://github.com/prettier/prettier?sponsor=1",
"homepage": "https://prettier.io",
"author": "James Long",
"type": "module",
"license": "MIT",
"main": "./src/index.cjs",
"browser": "./standalone.js",
"unpkg": "./standalone.js",
"exports": {
".": {
"types": "./src/index.d.ts",
"require": "./src/index.cjs",
"default": "./src/index.js"
},
"./*": "./*"
},
"engines": {
"node": ">=18"
},
"files": [
"index.js",
"standalone.js",
"src",
"bin"
],
"dependencies": {
"@angular/compiler": "18.2.1",
"@babel/code-frame": "7.24.7",
"@babel/parser": "7.25.6",
"@babel/types": "7.25.6",
"@glimmer/syntax": "0.92.0",
"@prettier/cli": "0.5.0",
"@prettier/is-es5-identifier-name": "0.2.0",
"@prettier/parse-srcset": "3.1.0",
"@typescript-eslint/typescript-estree": "8.1.0",
"@typescript-eslint/visitor-keys": "8.1.0",
"acorn": "8.12.1",
"acorn-jsx": "5.3.2",
"angular-estree-parser": "10.0.3",
"angular-html-parser": "6.0.2",
"camelcase": "8.0.0",
"chalk": "5.3.0",
"ci-info": "4.0.0",
"cjk-regex": "3.1.0",
"collapse-white-space": "1.0.6",
"css-units-list": "2.0.1",
"dashify": "2.0.0",
"diff": "5.2.0",
"editorconfig": "0.15.3",
"emoji-regex": "10.4.0",
"escape-string-regexp": "5.0.0",
"espree": "10.1.0",
"fast-glob": "3.3.2",
"fast-json-stable-stringify": "2.1.0",
"file-entry-cache": "9.1.0",
"find-cache-dir": "5.0.0",
"flow-parser": "0.244.0",
"get-east-asian-width": "1.2.0",
"get-stdin": "9.0.0",
"graphql": "16.9.0",
"hermes-parser": "0.23.1",
"html-element-attributes": "3.4.0",
"html-tag-names": "2.1.0",
"html-ua-styles": "0.0.8",
"ignore": "5.3.2",
"import-meta-resolve": "4.1.0",
"iterate-directory-up": "1.1.1",
"jest-docblock": "30.0.0-alpha.6",
"js-yaml": "4.1.0",
"json5": "2.2.3",
"leven": "4.0.0",
"lines-and-columns": "2.0.4",
"linguist-languages": "7.27.0",
"meriyah": "5.0.0",
"micromatch": "4.0.8",
"minimist": "1.2.8",
"n-readlines": "1.0.1",
"outdent": "0.8.0",
"parse-json": "8.1.0",
"please-upgrade-node": "3.2.0",
"postcss": "8.4.41",
"postcss-less": "6.0.0",
"postcss-media-query-parser": "0.2.3",
"postcss-scss": "4.0.9",
"postcss-selector-parser": "2.2.3",
"postcss-values-parser": "2.0.1",
"remark-footnotes": "2.0.0",
"remark-math": "3.0.1",
"remark-parse": "8.0.3",
"sdbm": "2.0.0",
"smol-toml": "1.3.0",
"strip-ansi": "7.1.0",
"to-fast-properties": "4.0.0",
"typescript": "5.5.4",
"unicode-regex": "4.0.0",
"unified": "9.2.2",
"url-or-path": "2.3.0",
"vnopts": "2.0.0",
"wcwidth.js": "1.1.2",
"yaml-unist-parser": "2.0.1"
},
"devDependencies": {
"@babel/generator": "7.25.6",
"@eslint/compat": "1.1.1",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.9.1",
"@glimmer/reference": "0.92.0",
"@stylistic/eslint-plugin-js": "2.6.4",
"@types/eslint__js": "8.42.3",
"@types/estree": "1.0.5",
"@types/file-entry-cache": "5.0.4",
"@types/jest": "29.5.12",
"@typescript-eslint/eslint-plugin": "8.1.0",
"benchmark": "2.1.4",
"browserslist": "4.23.3",
"browserslist-to-esbuild": "2.1.1",
"c8": "10.1.2",
"cross-env": "7.0.3",
"cspell": "8.13.2",
"enquirer": "2.4.1",
"esbuild": "0.23.0",
"esbuild-plugins-node-modules-polyfill": "1.6.4",
"esbuild-visualizer": "0.6.0",
"eslint": "9.9.1",
"eslint-config-prettier": "9.1.0",
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-compat": "6.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "28.8.0",
"eslint-plugin-n": "17.10.2",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-unicorn": "55.0.0",
"esm-utils": "4.3.0",
"execa": "7.2.0",
"jest": "30.0.0-alpha.6",
"jest-light-runner": "0.6.0",
"jest-snapshot-serializer-ansi": "2.1.0",
"jest-snapshot-serializer-raw": "2.0.0",
"jest-watch-typeahead": "2.2.2",
"magic-string": "0.30.11",
"npm-run-all2": "6.2.2",
"prettier": "3.3.3",
"pretty-bytes": "6.1.1",
"rollup-plugin-license": "3.5.2",
"semver": "7.6.3",
"serialize-javascript": "6.0.2",
"snapshot-diff": "0.10.0",
"tempy": "3.1.0",
"ts-expect": "1.3.0"
},
"resolutions": {
"trim": "1.0.1"
},
"scripts": {
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
"test": "cross-env PRETTIER_LEGACY_CLI=1 jest --runInBand",
"test:dev-package": "cross-env INSTALL_PACKAGE=1 yarn test",
"test:dist": "cross-env NODE_ENV=production yarn test",
"test:dist-standalone": "cross-env TEST_STANDALONE=1 yarn test:dist",
"test:dist-lint": "eslint dist --config=./scripts/bundle-eslint-config.js --quiet",
"perf": "yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin/prettier.cjs",
"perf:inspect": "yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin/prettier.cjs",
"perf:benchmark": "yarn perf --debug-benchmark",
"perf:compare": "./scripts/benchmark/compare.sh",
"lint": "run-p \"lint:*\"",
"lint:typecheck": "tsc",
"lint:eslint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
"lint:changelog": "node ./scripts/lint-changelog.js",
"lint:prettier": "prettier . --check --cache",
"lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
"lint:deps": "node ./scripts/check-deps.js",
"lint:blog": "node ./scripts/lint-blog.js",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"build": "node ./scripts/build/build.js",
"build:website": "node ./scripts/build-website.js",
"gen:changelog": "node ./scripts/generate-changelog.js",
"debug": "node bin/prettier.js --ignore-path=.prettierignore"
},
"c8": {
"reporter": [
"lcov",
"text"
],
"all": true,
"include": [
"src/**",
"bin/**"
],
"exclude": [
"bin/prettier.js",
"src/standalone.js",
"src/index.cjs",
"src/document/debug.js",
"src/utils/unexpected-node-error.js",
"src/language-js/types/estree.d.ts",
"src/**/**/*.d.ts"
]
},
"browserslist": [
">0.5%",
"not dead",
"not op_mini all"
],
"preferUnplugged": true,
"packageManager": "yarn@4.4.0"
}