Files
test-repo/package.json
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

214 lines
6.6 KiB
JSON
Raw Normal View History

2016-11-29 12:14:10 -05:00
{
2017-01-09 22:45:22 -05:00
"name": "prettier",
2024-07-13 21:24:55 +09:00
"version": "3.4.0-dev",
2017-07-01 17:14:24 -07:00
"description": "Prettier is an opinionated code formatter",
"bin": "./bin/prettier.cjs",
2017-03-13 16:39:54 -05:00
"repository": "prettier/prettier",
2021-12-06 13:55:58 +08:00
"funding": "https://github.com/prettier/prettier?sponsor=1",
2017-07-01 17:14:24 -07:00
"homepage": "https://prettier.io",
"author": "James Long",
2022-02-12 15:39:16 +08:00
"type": "module",
2017-01-13 21:11:03 -07:00
"license": "MIT",
2022-10-14 17:17:47 +08:00
"main": "./src/index.cjs",
"browser": "./standalone.js",
"unpkg": "./standalone.js",
"exports": {
".": {
"types": "./src/index.d.ts",
2023-03-31 14:15:09 +08:00
"require": "./src/index.cjs",
"default": "./src/index.js"
},
2022-10-16 12:47:33 +08:00
"./*": "./*"
},
2017-09-16 19:47:53 +03:00
"engines": {
"node": ">=18"
2017-09-16 19:47:53 +03:00
},
2020-04-23 10:37:09 +08:00
"files": [
"index.js",
"standalone.js",
"src",
2022-02-28 19:48:14 +08:00
"bin"
2020-04-23 10:37:09 +08:00
],
"dependencies": {
"@angular/compiler": "19.0.0",
"@babel/code-frame": "7.26.2",
"@babel/parser": "7.26.2",
"@babel/types": "7.26.0",
"@glimmer/syntax": "0.93.0",
"@prettier/is-es5-identifier-name": "0.2.0",
"@prettier/parse-srcset": "3.1.0",
"@typescript-eslint/typescript-estree": "8.15.0",
"@typescript-eslint/visitor-keys": "8.15.0",
"acorn": "8.14.0",
2022-01-28 15:25:30 +08:00
"acorn-jsx": "5.3.2",
2024-11-25 21:39:05 +08:00
"angular-estree-parser": "10.2.0",
"angular-html-parser": "7.0.1",
"camelcase": "8.0.0",
"chalk": "5.3.0",
"ci-info": "4.1.0",
"cjk-regex": "3.1.0",
"collapse-white-space": "1.0.6",
"css-units-list": "2.1.0",
2019-09-28 21:44:20 +08:00
"dashify": "2.0.0",
"diff": "7.0.0",
2019-09-28 21:41:30 +08:00
"editorconfig": "0.15.3",
"emoji-regex": "10.4.0",
2022-03-02 13:43:17 +08:00
"escape-string-regexp": "5.0.0",
"espree": "10.3.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",
2024-11-25 17:58:50 +08:00
"flow-parser": "0.254.2",
"get-east-asian-width": "1.3.0",
2022-07-12 10:28:00 +08:00
"get-stdin": "9.0.0",
"graphql": "16.9.0",
2024-11-25 17:58:50 +08:00
"hermes-parser": "0.25.1",
"html-element-attributes": "3.4.0",
2023-03-29 09:14:24 +08:00
"html-tag-names": "2.1.0",
"html-ua-styles": "0.0.8",
"ignore": "6.0.2",
"import-meta-resolve": "4.1.0",
"iterate-directory-up": "1.1.1",
"jest-docblock": "30.0.0-alpha.6",
2023-09-02 01:02:22 +08:00
"js-yaml": "4.1.0",
"json5": "2.2.3",
2022-03-02 13:41:59 +08:00
"leven": "4.0.0",
2023-11-09 13:24:49 +08:00
"lines-and-columns": "2.0.4",
"linguist-languages": "7.27.0",
"meriyah": "6.0.3",
"micromatch": "4.0.8",
"minimist": "1.2.8",
"n-readlines": "1.0.1",
"outdent": "0.8.0",
"parse-json": "8.1.0",
2020-03-23 03:32:05 +02:00
"please-upgrade-node": "3.2.0",
"postcss": "8.4.49",
2022-01-17 09:19:34 +08:00
"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",
2024-09-18 16:40:10 +08:00
"regexp-util": "2.0.0",
"remark-footnotes": "2.0.0",
2020-11-16 01:03:35 +08:00
"remark-math": "3.0.1",
"remark-parse": "8.0.3",
2022-06-11 23:32:32 +09:00
"sdbm": "2.0.0",
"smol-toml": "1.3.1",
"strip-ansi": "7.1.0",
2022-08-17 09:47:08 +08:00
"to-fast-properties": "4.0.0",
"typescript": "5.7.2",
"unicode-regex": "4.0.0",
"unified": "9.2.2",
"url-or-path": "2.3.2",
"vnopts": "2.0.0",
"wcwidth.js": "2.0.0",
2022-10-16 11:53:24 +08:00
"yaml-unist-parser": "2.0.1"
},
"devDependencies": {
"@babel/generator": "7.26.2",
"@eslint/js": "9.15.0",
"@stylistic/eslint-plugin-js": "2.11.0",
2024-01-08 14:48:45 +08:00
"@types/eslint__js": "8.42.3",
"@types/estree": "1.0.6",
"@types/file-entry-cache": "5.0.4",
"@typescript-eslint/eslint-plugin": "8.15.0",
"benchmark": "2.1.4",
"browserslist": "4.24.0",
"browserslist-to-esbuild": "2.1.1",
"c8": "10.1.2",
2022-04-25 14:39:16 +08:00
"cross-env": "7.0.3",
"cspell": "8.14.2",
"enquirer": "2.4.1",
"esbuild": "0.24.0",
"esbuild-plugins-node-modules-polyfill": "1.6.6",
"esbuild-visualizer": "0.6.0",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
2022-04-25 14:39:16 +08:00
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-compat": "6.0.1",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-n": "17.13.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-regexp": "2.7.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-unicorn": "56.0.0",
"esm-utils": "4.3.0",
"execa": "7.2.0",
"globals": "15.12.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",
"knip": "5.33.3",
"magic-string": "0.30.11",
"npm-run-all2": "7.0.0",
2024-06-11 14:12:10 +08:00
"prettier": "3.3.3",
"pretty-bytes": "6.1.1",
"rollup-plugin-license": "3.5.3",
"semver": "7.6.3",
"serialize-javascript": "6.0.2",
"snapshot-diff": "0.10.0",
"tempy": "3.1.0",
"ts-expect": "1.3.0"
2016-12-23 19:31:38 +00:00
},
"resolutions": {
"trim": "1.0.1"
},
2016-12-23 19:31:38 +00:00
"scripts": {
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
2022-07-20 23:18:24 +08:00
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand",
2022-01-12 08:47:55 +08:00
"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",
2024-06-14 18:07:10 +08:00
"test:dist-lint": "eslint dist --config=./scripts/bundle-eslint-config.js --quiet",
2023-03-08 09:18:45 +08:00
"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",
2022-05-01 22:29:45 +08:00
"perf:benchmark": "yarn perf --debug-benchmark",
2022-08-06 06:25:34 +03:00
"perf:compare": "./scripts/benchmark/compare.sh",
2022-09-08 09:44:12 +08:00
"lint": "run-p \"lint:*\"",
2020-02-14 18:20:38 +08:00
"lint:typecheck": "tsc",
"lint:eslint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
2023-03-28 16:18:53 +08:00
"lint:changelog": "node ./scripts/lint-changelog.js",
2024-01-19 17:20:41 +08:00
"lint:prettier": "prettier . --check --cache",
2022-01-27 15:03:49 +08:00
"lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
2023-03-28 16:18:53 +08:00
"lint:deps": "node ./scripts/check-deps.js",
"lint:blog": "node ./scripts/lint-blog.js",
2024-09-18 16:40:10 +08:00
"lint:knip": "knip",
2020-08-06 09:04:02 +08:00
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
2023-03-28 16:18:53 +08:00
"build": "node ./scripts/build/build.js",
2023-09-04 19:54:16 +08:00
"build:website": "node ./scripts/build-website.js",
"gen:changelog": "node ./scripts/generate-changelog.js",
2023-09-04 19:54:16 +08:00
"debug": "node bin/prettier.js --ignore-path=.prettierignore"
},
2022-01-04 17:00:25 +08:00
"c8": {
"reporter": [
"lcov",
"text"
2022-10-17 08:25:32 +08:00
],
2022-10-22 23:33:08 +08:00
"all": true,
2022-10-17 08:25:32 +08:00
"include": [
"src/**",
"bin/**"
],
"exclude": [
2022-10-22 23:33:08 +08:00
"bin/prettier.js",
2022-10-17 08:25:32 +08:00
"src/standalone.js",
2022-10-22 23:33:08 +08:00
"src/index.cjs",
"src/document/debug.js",
"src/utils/unexpected-node-error.js",
"src/language-js/types/estree.d.ts",
"src/**/**/*.d.ts"
2022-01-04 17:00:25 +08:00
]
},
"browserslist": [
">0.5%",
"not dead",
"not op_mini all"
2022-05-06 20:27:33 +08:00
],
"preferUnplugged": true,
2024-11-25 21:38:40 +08:00
"packageManager": "yarn@4.5.2"
}