Files
test-repo/package.json
T

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

161 lines
5.8 KiB
JSON
Raw Normal View History

2016-11-29 12:14:10 -05:00
{
2017-01-09 22:45:22 -05:00
"name": "prettier",
2020-11-20 13:44:18 +09:00
"version": "2.3.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",
2017-07-01 17:14:24 -07:00
"homepage": "https://prettier.io",
"author": "James Long",
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": ">=10.13.0"
2017-09-16 19:47:53 +03:00
},
2020-04-23 10:37:09 +08:00
"files": [
"index.js",
"standalone.js",
"src",
"bin"
],
"dependencies": {
"@angular/compiler": "11.0.7",
"@babel/code-frame": "7.12.11",
"@babel/parser": "7.12.11",
"@glimmer/syntax": "0.73.1",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "4.12.0",
"angular-estree-parser": "2.3.0",
"angular-html-parser": "1.7.1",
"camelcase": "6.2.0",
2020-06-09 13:28:26 +03:00
"chalk": "4.1.0",
2020-03-21 19:43:01 +08:00
"ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540",
"cjk-regex": "2.0.1",
"cosmiconfig": "7.0.0",
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": "7.3.1",
2019-09-30 19:44:43 +08:00
"esutils": "2.0.3",
2020-06-17 09:28:11 +08:00
"fast-glob": "3.2.4",
"fast-json-stable-stringify": "2.1.0",
"find-parent-dir": "0.3.0",
"flow-parser": "0.142.0",
2020-09-17 07:32:19 +08:00
"get-stdin": "8.0.0",
"globby": "11.0.2",
"graphql": "15.4.0",
"html-element-attributes": "2.3.0",
"html-styles": "1.0.0",
"html-tag-names": "1.1.5",
"html-void-elements": "1.0.5",
2019-04-08 15:38:20 -04:00
"ignore": "4.0.6",
"jest-docblock": "26.0.0",
"json5": "2.1.3",
2019-09-30 20:02:55 +08:00
"leven": "3.1.0",
"lines-and-columns": "1.1.6",
"linguist-languages": "7.12.2",
"lodash": "4.17.20",
"mem": "8.0.0",
"meriyah": "3.1.6",
"minimatch": "3.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",
"postcss-less": "3.1.4",
"postcss-media-query-parser": "0.2.3",
"postcss-scss": "2.1.1",
"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.19.0",
"semver": "7.3.4",
2020-01-13 22:30:53 +08:00
"string-width": "4.2.0",
"typescript": "4.1.3",
2019-10-01 18:54:24 +08:00
"unicode-regex": "3.0.0",
"unified": "9.2.0",
"vnopts": "1.0.2",
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.12.10",
"@babel/preset-env": "7.12.11",
"@babel/types": "7.12.12",
"@glimmer/reference": "0.73.1",
"@rollup/plugin-alias": "3.1.1",
"@rollup/plugin-babel": "5.2.2",
"@rollup/plugin-commonjs": "16.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.0.1",
"@rollup/plugin-replace": "2.3.4",
"@types/estree": "0.0.45",
"@types/node": "14.14.0",
"@typescript-eslint/types": "4.12.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"benchmark": "2.1.4",
"builtin-modules": "3.2.0",
"cross-env": "7.0.3",
"cspell": "4.2.5",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
2019-08-08 18:21:32 +08:00
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.3",
2020-11-25 22:14:27 +08:00
"eslint-plugin-prettier-internal-rules": "link:scripts/tools/eslint-plugin-prettier-internal-rules",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-unicorn": "25.0.1",
"execa": "5.0.0",
"jest": "26.6.3",
"jest-snapshot-serializer-ansi": "1.0.0",
"jest-snapshot-serializer-raw": "1.1.0",
"jest-watch-typeahead": "0.6.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.2.1",
"pretty-bytes": "5.5.0",
2020-02-14 13:31:29 +02:00
"rimraf": "3.0.2",
"rollup": "2.36.1",
2019-06-08 03:58:05 +08:00
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-terser": "7.0.2",
2020-04-25 14:10:44 +08:00
"shelljs": "0.8.4",
"snapshot-diff": "0.8.1",
2020-01-13 21:38:31 +08:00
"strip-ansi": "6.0.0",
"synchronous-promise": "2.0.15",
"tempy": "1.0.0",
"terser-webpack-plugin": "5.1.1",
"webpack": "5.12.3"
2016-12-23 19:31:38 +00:00
},
"scripts": {
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
2017-10-03 19:44:02 +10:00
"prepare-release": "yarn && yarn build && yarn test:dist",
"test": "jest",
2020-04-23 10:37:09 +08:00
"test:dev-package": "cross-env INSTALL_PACKAGE=1 jest",
2020-04-18 01:24:22 +08:00
"test:dist": "cross-env NODE_ENV=production jest",
2020-07-20 20:20:22 +08:00
"test:dist-standalone": "cross-env NODE_ENV=production TEST_STANDALONE=1 jest",
2020-02-14 18:20:38 +08:00
"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",
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",
"lint:changelog": "node ./scripts/lint-changelog.js",
2020-08-25 17:39:24 +08:00
"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/**/*\"",
2020-02-14 18:20:38 +08:00
"lint:deps": "node ./scripts/check-deps.js",
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",
"build": "node --max-old-space-size=3072 ./scripts/build/build.js",
2020-02-14 18:20:38 +08:00
"build-docs": "node ./scripts/build-docs.js"
2016-11-29 12:14:10 -05:00
}
}