Files
test-repo/package.json
T

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

180 lines
6.1 KiB
JSON
Raw Normal View History

2016-11-29 12:14:10 -05:00
{
2017-01-09 22:45:22 -05:00
"name": "prettier",
2021-11-25 22:57:21 +09:00
"version": "2.6.0-dev",
2017-07-01 17:14:24 -07:00
"description": "Prettier is an opinionated code formatter",
2020-01-13 20:17:24 +08:00
"bin": "./bin/prettier.js",
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",
2016-11-29 15:23:00 -05:00
"main": "./index.js",
"browser": "./standalone.js",
"unpkg": "./standalone.js",
2017-09-16 19:47:53 +03:00
"engines": {
"node": ">=12.17.0"
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": "12.2.16",
"@babel/code-frame": "7.16.7",
"@babel/parser": "7.17.3",
"@glimmer/syntax": "0.84.0",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "5.12.1",
2022-01-28 15:25:30 +08:00
"acorn": "8.7.0",
"acorn-jsx": "5.3.2",
2021-07-08 15:28:10 +08:00
"angular-estree-parser": "2.5.0",
"angular-html-parser": "1.8.0",
2022-01-04 17:00:25 +08:00
"c8": "7.10.0",
"camelcase": "6.3.0",
2022-03-02 13:41:27 +08:00
"chalk": "5.0.0",
"ci-info": "3.3.0",
"cjk-regex": "2.0.1",
"cosmiconfig": "7.0.1",
2019-09-28 21:44:20 +08:00
"dashify": "2.0.0",
"diff": "5.0.0",
2019-09-28 21:41:30 +08:00
"editorconfig": "0.15.3",
"editorconfig-to-prettier": "0.2.0",
"escape-string-regexp": "4.0.0",
"espree": "9.3.1",
2019-09-30 19:44:43 +08:00
"esutils": "2.0.3",
"fast-glob": "3.2.11",
"fast-json-stable-stringify": "2.1.0",
"find-parent-dir": "0.3.1",
"flow-parser": "0.172.0",
2020-09-17 07:32:19 +08:00
"get-stdin": "8.0.0",
"graphql": "15.6.1",
2022-02-21 16:44:56 +08:00
"html-element-attributes": "3.1.0",
"html-styles": "1.0.0",
2022-02-21 16:44:56 +08:00
"html-tag-names": "2.0.1",
"html-void-elements": "2.0.1",
"ignore": "5.2.0",
"jest-docblock": "27.5.1",
"json5": "2.2.0",
2022-03-02 13:41:59 +08:00
"leven": "4.0.0",
"lines-and-columns": "2.0.3",
"linguist-languages": "7.15.0",
2022-02-28 19:48:27 +08:00
"lodash-es": "4.17.21",
"mem": "9.0.2",
2021-07-12 14:45:33 +08:00
"meriyah": "4.2.0",
2022-02-11 16:15:32 +03:00
"micromatch": "4.0.4",
2020-03-15 17:43:46 +09:00
"minimist": "1.2.5",
"n-readlines": "1.0.1",
"outdent": "0.8.0",
2020-05-21 12:25:01 +08:00
"parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee",
2020-03-23 03:32:05 +02:00
"please-upgrade-node": "3.2.0",
2021-12-02 13:58:41 +08:00
"postcss": "8.4.4",
2022-01-17 09:19:34 +08:00
"postcss-less": "6.0.0",
"postcss-media-query-parser": "0.2.3",
2021-12-02 13:58:49 +08:00
"postcss-scss": "4.0.2",
"postcss-selector-parser": "2.2.3",
"postcss-values-parser": "2.0.1",
"regexp-util": "1.2.2",
"remark-footnotes": "2.0.0",
2020-11-16 01:03:35 +08:00
"remark-math": "3.0.1",
"remark-parse": "8.0.3",
"resolve": "1.22.0",
"semver": "7.3.5",
"string-width": "5.0.1",
2021-02-07 08:51:19 +08:00
"strip-ansi": "6.0.0",
"typescript": "4.5.5",
2019-10-01 18:54:24 +08:00
"unicode-regex": "3.0.0",
"unified": "9.2.1",
"vnopts": "1.0.2",
2021-02-07 08:51:19 +08:00
"wcwidth": "1.0.1",
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/types": "7.17.0",
2022-01-09 01:15:04 +08:00
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
"@glimmer/reference": "0.84.0",
"@jest/globals": "27.4.2",
2022-01-04 17:00:25 +08:00
"@prettier/jest-light-runner": "file:./tests/config/jest-light-runner",
"@types/estree": "0.0.51",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "5.12.1",
"babel-jest": "27.5.1",
"benchmark": "2.1.4",
"browserslist-to-esbuild": "1.1.1",
2022-02-09 09:31:03 +08:00
"cross-env": "7.0.3",
"cspell": "5.18.5",
"enquirer": "2.3.6",
"esbuild": "0.14.23",
"esbuild-plugin-text-replace": "1.2.0",
2022-01-27 11:16:50 +08:00
"esbuild-visualizer": "0.3.1",
"eslint": "8.10.0",
"eslint-config-prettier": "8.4.0",
2019-08-08 18:21:32 +08:00
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-compat": "4.0.2",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "26.1.1",
"eslint-plugin-prettier-internal-rules": "2.0.1",
"eslint-plugin-react": "7.29.2",
"eslint-plugin-regexp": "1.5.1",
"eslint-plugin-unicorn": "41.0.0",
2022-02-11 18:02:04 +08:00
"esm-utils": "3.0.0",
"execa": "6.1.0",
2022-02-21 16:12:59 +08:00
"jest": "27.5.1",
"jest-snapshot-serializer-ansi": "1.0.0",
"jest-snapshot-serializer-raw": "1.2.0",
"jest-watch-typeahead": "1.0.0",
"node-actionlint": "1.2.2",
"node-fetch": "3.1.1",
2020-08-06 09:04:02 +08:00
"npm-run-all": "4.1.5",
"path-browserify": "1.0.1",
2019-11-09 13:23:22 +01:00
"prettier": "2.5.1",
"pretty-bytes": "5.6.0",
"read-pkg-up": "9.1.0",
2020-02-14 13:31:29 +02:00
"rimraf": "3.0.2",
2022-01-16 10:21:29 +08:00
"rollup-plugin-license": "2.6.1",
"snapshot-diff": "0.9.0",
2021-12-06 21:31:46 +08:00
"tempy": "2.0.0"
2016-12-23 19:31:38 +00:00
},
"scripts": {
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
2022-01-12 08:47:55 +08:00
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
2022-02-11 09:56:58 +08:00
"test:integration": "echo \"Disabled temporary\" && exit 1",
2022-01-12 08:47:55 +08:00
"test:format": "yarn test --config=jest-format-test.config.mjs",
"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",
2022-02-09 08:30:36 +08:00
"test:dist-lint": "eslint --no-eslintrc --no-ignore --no-inline-config --config=./scripts/bundle-eslint-config.cjs \"dist/**/*.{js,mjs}\"",
2020-02-14 18:20:38 +08:00
"perf:repeat": "yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
"perf:repeat-inspect": "yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
"perf:benchmark": "yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
2020-08-06 09:04:02 +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",
2021-05-15 20:09:52 +08:00
"lint:changelog": "node ./scripts/lint-changelog.mjs",
2020-08-25 17:39:24 +08:00
"lint:prettier": "prettier . \"!test*\" --check",
2022-01-27 15:03:49 +08:00
"lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
2021-05-15 20:09:52 +08:00
"lint:deps": "node ./scripts/check-deps.mjs",
2021-07-26 09:23:54 +09:00
"lint:actionlint": "node-actionlint",
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",
2022-01-09 01:15:04 +08:00
"build": "node ./scripts/build/build.mjs",
2022-02-28 19:48:14 +08:00
"build:website": "node ./scripts/build-website.mjs"
},
2022-01-04 17:00:25 +08:00
"c8": {
"reporter": [
"lcov",
"text"
]
},
"browserslist": [
">0.5%",
"not ie 11",
"not safari 5.1",
"not op_mini all"
]
}