{ "name": "prettier", "version": "2.2.0-dev", "description": "Prettier is an opinionated code formatter", "bin": "./bin/prettier.js", "repository": "prettier/prettier", "homepage": "https://prettier.io", "author": "James Long", "license": "MIT", "main": "./index.js", "browser": "./standalone.js", "unpkg": "./standalone.js", "engines": { "node": ">=10.13.0" }, "files": [ "index.js", "standalone.js", "src", "bin" ], "dependencies": { "@angular/compiler": "10.2.0", "@babel/code-frame": "7.10.4", "@babel/parser": "7.12.3", "@glimmer/syntax": "0.62.4", "@iarna/toml": "2.2.5", "@typescript-eslint/typescript-estree": "3.10.1", "angular-estree-parser": "2.2.1", "angular-html-parser": "1.7.1", "camelcase": "6.1.0", "chalk": "4.1.0", "ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540", "cjk-regex": "2.0.0", "cosmiconfig": "7.0.0", "dashify": "2.0.0", "diff": "4.0.2", "editorconfig": "0.15.3", "editorconfig-to-prettier": "0.2.0", "escape-string-regexp": "4.0.0", "espree": "7.3.0", "esutils": "2.0.3", "fast-glob": "3.2.4", "fast-json-stable-stringify": "2.1.0", "find-parent-dir": "0.3.0", "flow-parser": "0.136.0", "get-stdin": "8.0.0", "globby": "11.0.1", "graphql": "15.3.0", "html-element-attributes": "2.3.0", "html-styles": "1.0.0", "html-tag-names": "1.1.5", "html-void-elements": "1.0.5", "ignore": "4.0.6", "jest-docblock": "26.0.0", "json5": "2.1.3", "leven": "3.1.0", "lines-and-columns": "1.1.6", "linguist-languages": "7.11.1", "lodash": "4.17.20", "mem": "8.0.0", "minimatch": "3.0.4", "minimist": "1.2.5", "n-readlines": "1.0.0", "outdent": "0.7.1", "parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee", "please-upgrade-node": "3.2.0", "postcss": "8.1.4", "postcss-less": "4.0.0", "postcss-media-query-parser": "0.2.3", "postcss-scss": "3.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": "1.0.6", "remark-parse": "8.0.3", "resolve": "1.18.1", "semver": "7.3.2", "string-width": "4.2.0", "typescript": "4.0.5", "unicode-regex": "3.0.0", "unified": "9.2.0", "vnopts": "1.0.2", "yaml-unist-parser": "1.3.1" }, "devDependencies": { "@babel/core": "7.12.3", "@babel/preset-env": "7.12.1", "@babel/types": "7.12.1", "@glimmer/reference": "0.62.4", "@rollup/plugin-alias": "3.1.1", "@rollup/plugin-babel": "5.2.1", "@rollup/plugin-commonjs": "16.0.0", "@rollup/plugin-json": "4.1.0", "@rollup/plugin-node-resolve": "10.0.0", "@rollup/plugin-replace": "2.3.4", "@types/estree": "0.0.45", "@types/node": "14.14.0", "@typescript-eslint/types": "3.10.1", "babel-jest": "26.6.1", "babel-loader": "8.1.0", "benchmark": "2.1.4", "builtin-modules": "3.1.0", "cross-env": "7.0.2", "cspell": "4.1.2", "eslint": "7.12.1", "eslint-config-prettier": "6.15.0", "eslint-formatter-friendly": "7.0.0", "eslint-plugin-import": "2.22.1", "eslint-plugin-jest": "24.1.0", "eslint-plugin-prettier-internal-rules": "file:scripts/tools/eslint-plugin-prettier-internal-rules", "eslint-plugin-react": "7.21.5", "eslint-plugin-unicorn": "23.0.0", "execa": "4.0.3", "jest": "26.6.1", "jest-snapshot-serializer-ansi": "1.0.0", "jest-snapshot-serializer-raw": "1.1.0", "jest-watch-typeahead": "0.6.1", "npm-run-all": "4.1.5", "path-browserify": "1.0.1", "prettier": "2.1.2", "rimraf": "3.0.2", "rollup": "2.32.1", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "7.0.2", "shelljs": "0.8.4", "snapshot-diff": "0.8.1", "strip-ansi": "6.0.0", "synchronous-promise": "2.0.15", "tempy": "1.0.0", "terser-webpack-plugin": "5.0.2", "webpack": "5.3.0" }, "scripts": { "prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1", "prepare-release": "yarn && yarn build && yarn test:dist", "test": "jest", "test:dev-package": "cross-env INSTALL_PACKAGE=1 jest", "test:dist": "cross-env NODE_ENV=production jest", "test:dist-standalone": "cross-env NODE_ENV=production TEST_STANDALONE=1 jest", "test:integration": "jest tests_integration", "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.js", "lint:prettier": "prettier . \"!test*\" --check", "lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2018 \"dist/!(bin-prettier|index|third-party).js\"", "lint:spellcheck": "cspell \"**/*\" \".github/**/*\"", "lint:deps": "node ./scripts/check-deps.js", "fix": "run-s fix:eslint fix:prettier", "fix:eslint": "yarn lint:eslint --fix", "fix:prettier": "yarn lint:prettier --write", "build": "node --max-old-space-size=3072 ./scripts/build/build.js", "build-docs": "node ./scripts/build-docs.js" } }