Files
test-repo/package.json
T
fisker Cheung a85f38f096 Merge branch 'main' into next
# Conflicts:
#	.github/workflows/dev-test.yml
#	jest.config.mjs
#	package.json
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/options/create-minimist-options.js
#	src/cli/options/parse-cli-arguments.js
#	src/cli/usage.js
#	src/cli/utils.js
#	src/common/create-ignorer.js
#	src/common/load-plugins.js
#	src/config/resolve-config.js
#	src/index.js
#	src/language-css/utils/css-units.evaluate.js
#	src/language-html/ast.js
#	src/language-html/print-preprocess.js
#	src/language-html/utils/index.js
#	src/main/multiparser.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/config-resolution.js.snap
#	tests/integration/__tests__/__snapshots__/with-config-precedence.js.snap
#	tests/integration/__tests__/file-info.js
#	yarn.lock
2022-04-25 14:28:27 +08:00

165 lines
5.6 KiB
JSON

{
"name": "prettier",
"version": "2.7.0-dev",
"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": "./index.js",
"browser": "./standalone.js",
"unpkg": "./standalone.js",
"engines": {
"node": ">=14"
},
"files": [
"index.js",
"standalone.js",
"src",
"bin"
],
"dependencies": {
"@angular/compiler": "12.2.16",
"@babel/code-frame": "7.16.7",
"@babel/parser": "7.17.9",
"@glimmer/syntax": "0.84.2",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "5.20.0",
"acorn": "8.7.0",
"acorn-jsx": "5.3.2",
"angular-estree-parser": "2.5.0",
"angular-html-parser": "1.8.0",
"c8": "7.10.0",
"camelcase": "6.3.0",
"chalk": "5.0.1",
"ci-info": "3.3.0",
"cjk-regex": "2.0.1",
"cosmiconfig": "7.0.1",
"css-units-list": "1.1.0",
"dashify": "2.0.0",
"diff": "5.0.0",
"editorconfig": "0.15.3",
"editorconfig-to-prettier": "0.2.0",
"escape-string-regexp": "5.0.0",
"espree": "9.3.1",
"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.176.3",
"get-stdin": "8.0.0",
"graphql": "15.6.1",
"html-element-attributes": "3.1.0",
"html-styles": "1.0.0",
"html-tag-names": "2.0.1",
"html-void-elements": "2.0.1",
"ignore": "5.2.0",
"jest-docblock": "27.5.1",
"json5": "2.2.1",
"leven": "4.0.0",
"lines-and-columns": "2.0.3",
"linguist-languages": "7.15.0",
"mem": "9.0.2",
"meriyah": "4.2.1",
"micromatch": "4.0.5",
"minimist": "1.2.6",
"n-readlines": "1.0.1",
"outdent": "0.8.0",
"parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee",
"please-upgrade-node": "3.2.0",
"postcss": "8.4.4",
"postcss-less": "6.0.0",
"postcss-media-query-parser": "0.2.3",
"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",
"remark-math": "3.0.1",
"remark-parse": "8.0.3",
"resolve": "1.22.0",
"semver": "7.3.7",
"string-width": "5.0.1",
"strip-ansi": "7.0.1",
"typescript": "4.6.3",
"unicode-regex": "3.0.0",
"unified": "9.2.1",
"vnopts": "1.0.2",
"wcwidth": "1.0.1",
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/preset-env": "7.16.11",
"@babel/types": "7.17.0",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
"@glimmer/reference": "0.84.2",
"@jest/globals": "27.4.2",
"@types/estree": "0.0.51",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "5.20.0",
"babel-jest": "27.5.1",
"benchmark": "2.1.4",
"browserslist-to-esbuild": "1.1.1",
"core-js": "3.22.2",
"eslint-plugin-unicorn": "42.0.0",
"execa": "6.1.0",
"jest": "27.5.1",
"jest-light-runner": "0.1.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.2.3",
"npm-run-all": "4.1.5",
"path-browserify": "1.0.1",
"prettier": "2.6.2",
"pretty-bytes": "6.0.0",
"rimraf": "3.0.2",
"rollup-plugin-license": "2.7.0",
"snapshot-diff": "0.9.0",
"tempy": "2.0.0"
},
"scripts": {
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:integration": "echo \"Disabled temporary\" && exit 1",
"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",
"test:dist-lint": "eslint --no-eslintrc --no-ignore --no-inline-config --config=./scripts/bundle-eslint-config.cjs \"dist/**/*.{js,mjs}\"",
"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",
"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.mjs",
"lint:prettier": "prettier . \"!test*\" --check",
"lint:spellcheck": "cspell --no-progress --relative --dot --gitignore",
"lint:deps": "node ./scripts/check-deps.mjs",
"lint:actionlint": "node-actionlint",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"build": "node ./scripts/build/build.mjs",
"build:website": "node ./scripts/build-website.mjs"
},
"c8": {
"reporter": [
"lcov",
"text"
]
},
"browserslist": [
">0.5%",
"not ie 11",
"not safari 5.1",
"not op_mini all"
]
}