2016-11-29 12:14:10 -05:00
|
|
|
{
|
2017-01-09 22:45:22 -05:00
|
|
|
"name": "prettier",
|
2020-03-24 00:36:05 +02:00
|
|
|
"version": "2.1.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",
|
2017-01-11 15:40:29 +00:00
|
|
|
"author": "James Long",
|
2017-01-13 21:11:03 -07:00
|
|
|
"license": "MIT",
|
2016-11-29 15:23:00 -05:00
|
|
|
"main": "./index.js",
|
2017-09-16 19:47:53 +03:00
|
|
|
"engines": {
|
2020-01-21 19:00:37 +09:00
|
|
|
"node": ">=10.13.0"
|
2017-09-16 19:47:53 +03:00
|
|
|
},
|
2017-06-17 17:36:50 +03:00
|
|
|
"dependencies": {
|
2020-03-07 15:37:28 +02:00
|
|
|
"@angular/compiler": "9.0.5",
|
2020-01-14 18:59:05 +08:00
|
|
|
"@babel/code-frame": "7.8.0",
|
2020-03-25 22:29:01 +09:00
|
|
|
"@babel/parser": "7.9.4",
|
2020-03-16 12:22:33 +03:00
|
|
|
"@glimmer/syntax": "0.48.0",
|
2019-05-17 10:15:45 -03:00
|
|
|
"@iarna/toml": "2.2.3",
|
2020-03-31 17:22:12 +03:00
|
|
|
"@typescript-eslint/typescript-estree": "2.26.0",
|
2020-02-14 00:13:22 +02:00
|
|
|
"angular-estree-parser": "1.3.0",
|
2020-01-29 12:47:59 +03:00
|
|
|
"angular-html-parser": "1.4.0",
|
2019-09-28 21:42:43 +08:00
|
|
|
"camelcase": "5.3.1",
|
2020-04-03 19:39:07 +09:00
|
|
|
"chalk": "4.0.0",
|
2020-03-21 19:43:01 +08:00
|
|
|
"ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540",
|
2018-09-02 16:20:22 +08:00
|
|
|
"cjk-regex": "2.0.0",
|
2020-01-10 09:21:44 +08:00
|
|
|
"cosmiconfig": "6.0.0",
|
2019-09-28 21:44:20 +08:00
|
|
|
"dashify": "2.0.0",
|
2017-12-31 12:34:37 +08:00
|
|
|
"dedent": "0.7.0",
|
2020-01-15 16:56:54 +02:00
|
|
|
"diff": "4.0.2",
|
2019-09-28 21:41:30 +08:00
|
|
|
"editorconfig": "0.15.3",
|
2018-11-26 13:08:52 +08:00
|
|
|
"editorconfig-to-prettier": "0.1.1",
|
2020-01-15 22:55:47 +08:00
|
|
|
"escape-string-regexp": "2.0.0",
|
2019-09-30 19:44:43 +08:00
|
|
|
"esutils": "2.0.3",
|
2020-03-17 01:34:32 +02:00
|
|
|
"fast-glob": "3.2.2",
|
2018-05-09 12:17:12 +01:00
|
|
|
"find-parent-dir": "0.3.0",
|
2017-12-26 02:16:09 -05:00
|
|
|
"find-project-root": "1.1.1",
|
2020-03-19 12:24:22 +02:00
|
|
|
"flow-parser": "0.121.0",
|
2020-01-19 06:53:17 +08:00
|
|
|
"get-stream": "5.1.0",
|
2020-02-18 23:36:22 +08:00
|
|
|
"globby": "11.0.0",
|
2020-04-03 16:55:57 +03:00
|
|
|
"graphql": "15.0.0",
|
2020-01-29 04:49:41 +02:00
|
|
|
"html-element-attributes": "2.2.1",
|
2018-10-13 13:55:38 +08:00
|
|
|
"html-styles": "1.0.0",
|
2020-01-25 16:19:59 +02:00
|
|
|
"html-tag-names": "1.1.5",
|
2019-04-08 15:38:20 -04:00
|
|
|
"ignore": "4.0.6",
|
2020-03-27 13:58:47 +02:00
|
|
|
"jest-docblock": "25.2.3",
|
2018-01-28 00:24:25 +08:00
|
|
|
"json-stable-stringify": "1.0.1",
|
2019-09-30 20:02:55 +08:00
|
|
|
"leven": "3.1.0",
|
2018-10-13 13:55:38 +08:00
|
|
|
"lines-and-columns": "1.1.6",
|
2020-03-22 22:57:12 +02:00
|
|
|
"linguist-languages": "7.9.0",
|
2020-01-09 17:48:02 +02:00
|
|
|
"lodash": "4.17.15",
|
2020-01-29 01:10:01 +08:00
|
|
|
"mem": "6.0.1",
|
2017-07-10 22:26:36 +10:00
|
|
|
"minimatch": "3.0.4",
|
2020-03-15 17:43:46 +09:00
|
|
|
"minimist": "1.2.5",
|
2018-10-04 17:47:23 -07:00
|
|
|
"n-readlines": "1.0.0",
|
2020-03-23 03:32:05 +02:00
|
|
|
"please-upgrade-node": "3.2.0",
|
2020-03-10 07:14:34 +08:00
|
|
|
"postcss-less": "3.1.4",
|
2017-06-01 20:38:25 -07:00
|
|
|
"postcss-media-query-parser": "0.2.3",
|
2018-11-15 17:23:26 +03:00
|
|
|
"postcss-scss": "2.0.0",
|
2017-06-01 20:38:25 -07:00
|
|
|
"postcss-selector-parser": "2.2.3",
|
2019-11-17 11:02:55 +01:00
|
|
|
"postcss-values-parser": "2.0.1",
|
2018-09-02 16:20:22 +08:00
|
|
|
"regexp-util": "1.2.2",
|
2019-09-28 22:40:13 +08:00
|
|
|
"remark-math": "1.0.6",
|
2018-01-21 12:31:30 +08:00
|
|
|
"remark-parse": "5.0.0",
|
2020-02-14 13:31:17 +02:00
|
|
|
"semver": "7.1.3",
|
2020-01-19 06:44:44 +08:00
|
|
|
"srcset": "2.0.1",
|
2020-01-13 22:30:53 +08:00
|
|
|
"string-width": "4.2.0",
|
2020-03-03 15:01:30 +09:00
|
|
|
"typescript": "3.8.3",
|
2019-10-01 18:54:24 +08:00
|
|
|
"unicode-regex": "3.0.0",
|
2020-03-31 17:21:42 +03:00
|
|
|
"unified": "9.0.0",
|
2018-08-31 11:26:07 +08:00
|
|
|
"vnopts": "1.0.2",
|
2019-10-10 18:04:38 +08:00
|
|
|
"yaml-unist-parser": "1.1.1"
|
2017-06-17 17:36:50 +03:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2020-03-22 02:23:52 +02:00
|
|
|
"@babel/core": "7.9.0",
|
2020-03-22 20:35:31 +02:00
|
|
|
"@babel/preset-env": "7.9.0",
|
2020-02-03 12:48:19 +02:00
|
|
|
"@rollup/plugin-alias": "3.0.1",
|
2020-02-14 01:50:06 +02:00
|
|
|
"@rollup/plugin-commonjs": "11.0.2",
|
2020-02-14 01:00:12 +02:00
|
|
|
"@rollup/plugin-json": "4.0.2",
|
2020-02-14 01:50:22 +02:00
|
|
|
"@rollup/plugin-node-resolve": "7.1.1",
|
2020-02-03 14:37:30 +02:00
|
|
|
"@rollup/plugin-replace": "2.3.1",
|
2020-03-22 20:03:15 +02:00
|
|
|
"babel-loader": "8.1.0",
|
2018-07-01 19:49:16 -07:00
|
|
|
"benchmark": "2.1.4",
|
2019-09-30 19:56:24 +08:00
|
|
|
"builtin-modules": "3.1.0",
|
2020-02-14 00:13:40 +02:00
|
|
|
"codecov": "3.6.5",
|
2020-03-07 17:11:37 +02:00
|
|
|
"cross-env": "7.0.2",
|
2020-03-03 13:29:02 +03:00
|
|
|
"cspell": "4.0.55",
|
2020-01-13 19:53:14 +08:00
|
|
|
"eslint": "6.8.0",
|
2020-03-23 14:10:07 +02:00
|
|
|
"eslint-config-prettier": "6.10.1",
|
2019-08-08 18:21:32 +08:00
|
|
|
"eslint-formatter-friendly": "7.0.0",
|
2020-03-30 00:00:09 +03:00
|
|
|
"eslint-plugin-import": "2.20.2",
|
2019-12-16 18:02:20 +01:00
|
|
|
"eslint-plugin-prettier": "3.1.2",
|
2020-03-10 00:11:57 +02:00
|
|
|
"eslint-plugin-react": "7.19.0",
|
2020-03-27 13:00:25 +02:00
|
|
|
"eslint-plugin-unicorn": "18.0.1",
|
2020-01-15 23:05:04 +08:00
|
|
|
"execa": "4.0.0",
|
2020-03-29 23:57:24 +03:00
|
|
|
"jest": "25.2.4",
|
2018-09-01 12:11:19 +08:00
|
|
|
"jest-snapshot-serializer-ansi": "1.0.0",
|
|
|
|
|
"jest-snapshot-serializer-raw": "1.1.0",
|
2020-04-01 17:58:53 +03:00
|
|
|
"jest-watch-typeahead": "0.5.0",
|
2020-03-24 00:36:05 +02:00
|
|
|
"prettier": "2.0.2",
|
2020-02-14 13:31:29 +02:00
|
|
|
"rimraf": "3.0.2",
|
2020-04-01 14:08:16 +03:00
|
|
|
"rollup": "2.3.2",
|
2020-03-09 23:34:08 +02:00
|
|
|
"rollup-plugin-babel": "4.4.0",
|
2019-06-08 03:58:05 +08:00
|
|
|
"rollup-plugin-node-globals": "1.4.0",
|
2020-03-10 11:37:09 +02:00
|
|
|
"rollup-plugin-terser": "5.3.0",
|
2019-09-28 22:32:39 +08:00
|
|
|
"shelljs": "0.8.3",
|
2020-02-14 01:36:25 +02:00
|
|
|
"snapshot-diff": "0.7.0",
|
2020-01-13 21:38:31 +08:00
|
|
|
"strip-ansi": "6.0.0",
|
2019-11-02 05:53:13 -07:00
|
|
|
"synchronous-promise": "2.0.10",
|
2020-03-09 23:43:06 +02:00
|
|
|
"tempy": "0.5.0",
|
2020-02-17 12:49:38 +02:00
|
|
|
"terser-webpack-plugin": "2.3.5",
|
2020-03-24 17:09:51 +02:00
|
|
|
"webpack": "4.42.1"
|
2016-12-23 19:31:38 +00:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2017-10-03 19:34:08 +11:00
|
|
|
"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",
|
2016-12-30 23:03:22 -05:00
|
|
|
"test": "jest",
|
2018-01-13 03:19:20 +11:00
|
|
|
"test:dist": "node ./scripts/test-dist.js",
|
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",
|
|
|
|
|
"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 \"**/*.{md,json,yml,html,css}\" --check",
|
2020-03-07 15:36:58 +02:00
|
|
|
"lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 \"dist/!(bin-prettier|index|third-party).js\"",
|
2020-03-22 03:20:21 +02:00
|
|
|
"lint:spellcheck": "cspell {bin,scripts,src,website}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md",
|
2020-02-14 18:20:38 +08:00
|
|
|
"lint:deps": "node ./scripts/check-deps.js",
|
2019-10-03 20:24:03 +08:00
|
|
|
"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
|
|
|
}
|
2017-09-01 18:17:07 +08:00
|
|
|
}
|