2016-11-29 20:14:10 +03:00
|
|
|
{
|
2017-01-10 06:45:22 +03:00
|
|
|
"name": "prettier",
|
2019-06-07 17:57:01 +03:00
|
|
|
"version": "1.18.1",
|
2017-07-02 03:14:24 +03:00
|
|
|
"description": "Prettier is an opinionated code formatter",
|
2016-12-23 21:38:10 +03:00
|
|
|
"bin": {
|
2017-01-10 23:18:11 +03:00
|
|
|
"prettier": "./bin/prettier.js"
|
2016-12-23 21:38:10 +03:00
|
|
|
},
|
2017-03-14 00:39:54 +03:00
|
|
|
"repository": "prettier/prettier",
|
2017-07-02 03:14:24 +03:00
|
|
|
"homepage": "https://prettier.io",
|
2017-01-11 18:40:29 +03:00
|
|
|
"author": "James Long",
|
2017-01-14 07:11:03 +03:00
|
|
|
"license": "MIT",
|
2016-11-29 23:23:00 +03:00
|
|
|
"main": "./index.js",
|
2017-09-16 19:47:53 +03:00
|
|
|
"engines": {
|
2018-05-24 21:49:57 +03:00
|
|
|
"node": ">=6"
|
2017-09-16 19:47:53 +03:00
|
|
|
},
|
2017-06-17 17:36:50 +03:00
|
|
|
"dependencies": {
|
2019-04-08 22:28:49 +03:00
|
|
|
"@angular/compiler": "7.2.9",
|
2019-04-05 00:37:57 +03:00
|
|
|
"@babel/code-frame": "7.0.0",
|
2018-12-14 18:45:26 +03:00
|
|
|
"@babel/parser": "7.2.0",
|
2019-07-08 12:07:41 +03:00
|
|
|
"@glimmer/syntax": "0.41.0",
|
2019-05-17 16:15:45 +03:00
|
|
|
"@iarna/toml": "2.2.3",
|
2019-07-11 17:27:53 +03:00
|
|
|
"@typescript-eslint/typescript-estree": "1.11.0",
|
2018-11-09 20:01:18 +03:00
|
|
|
"angular-estree-parser": "1.1.5",
|
2018-12-13 05:31:48 +03:00
|
|
|
"angular-html-parser": "1.2.0",
|
2017-09-25 22:04:25 +03:00
|
|
|
"camelcase": "4.1.0",
|
2017-09-03 07:18:27 +03:00
|
|
|
"chalk": "2.1.0",
|
2018-09-02 11:20:22 +03:00
|
|
|
"cjk-regex": "2.0.0",
|
2018-11-29 04:49:33 +03:00
|
|
|
"cosmiconfig": "5.0.7",
|
2017-07-10 15:26:36 +03:00
|
|
|
"dashify": "0.2.2",
|
2017-12-31 07:34:37 +03:00
|
|
|
"dedent": "0.7.0",
|
2019-06-14 17:26:46 +03:00
|
|
|
"diff": "3.5.0",
|
2018-10-28 10:01:53 +03:00
|
|
|
"editorconfig": "0.15.2",
|
2018-11-26 08:08:52 +03:00
|
|
|
"editorconfig-to-prettier": "0.1.1",
|
2017-10-12 01:46:44 +03:00
|
|
|
"escape-string-regexp": "1.0.5",
|
2017-01-18 20:48:04 +03:00
|
|
|
"esutils": "2.0.2",
|
2018-05-09 14:17:12 +03:00
|
|
|
"find-parent-dir": "0.3.0",
|
2017-12-26 10:16:09 +03:00
|
|
|
"find-project-root": "1.1.1",
|
2018-10-26 17:14:47 +03:00
|
|
|
"flow-parser": "0.84.0",
|
2017-06-15 02:57:29 +03:00
|
|
|
"get-stream": "3.0.0",
|
2017-10-02 18:58:21 +03:00
|
|
|
"globby": "6.1.0",
|
2019-04-04 15:47:05 +03:00
|
|
|
"graphql": "14.2.0",
|
2018-09-27 15:18:00 +03:00
|
|
|
"html-element-attributes": "2.0.0",
|
2018-10-13 08:55:38 +03:00
|
|
|
"html-styles": "1.0.0",
|
2018-04-02 16:25:29 +03:00
|
|
|
"html-tag-names": "1.1.2",
|
2019-04-08 22:38:20 +03:00
|
|
|
"ignore": "4.0.6",
|
2019-01-30 09:08:03 +03:00
|
|
|
"is-ci": "2.0.0",
|
2018-07-03 09:06:29 +03:00
|
|
|
"jest-docblock": "23.2.0",
|
2018-01-27 19:24:25 +03:00
|
|
|
"json-stable-stringify": "1.0.1",
|
2017-09-21 08:54:13 +03:00
|
|
|
"leven": "2.1.0",
|
2018-10-13 08:55:38 +03:00
|
|
|
"lines-and-columns": "1.1.6",
|
2018-07-07 15:46:34 +03:00
|
|
|
"linguist-languages": "6.2.1-dev.20180706",
|
2018-05-09 14:17:12 +03:00
|
|
|
"lodash.uniqby": "4.7.0",
|
2019-07-10 14:19:50 +03:00
|
|
|
"mem": "4.0.0",
|
2017-07-10 15:26:36 +03:00
|
|
|
"minimatch": "3.0.4",
|
2017-06-02 06:38:25 +03:00
|
|
|
"minimist": "1.2.0",
|
2018-10-05 03:47:23 +03:00
|
|
|
"n-readlines": "1.0.0",
|
2018-06-22 07:43:44 +03:00
|
|
|
"normalize-path": "3.0.0",
|
2018-11-04 18:19:41 +03:00
|
|
|
"parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee",
|
2018-04-02 12:50:48 +03:00
|
|
|
"postcss-less": "1.1.5",
|
2017-06-02 06:38:25 +03:00
|
|
|
"postcss-media-query-parser": "0.2.3",
|
2018-11-15 17:23:26 +03:00
|
|
|
"postcss-scss": "2.0.0",
|
2017-06-02 06:38:25 +03:00
|
|
|
"postcss-selector-parser": "2.2.3",
|
2018-03-31 17:18:23 +03:00
|
|
|
"postcss-values-parser": "1.5.0",
|
2018-09-02 11:20:22 +03:00
|
|
|
"regexp-util": "1.2.2",
|
2018-09-05 16:07:37 +03:00
|
|
|
"remark-math": "1.0.4",
|
2018-01-21 07:31:30 +03:00
|
|
|
"remark-parse": "5.0.0",
|
2017-12-26 04:23:50 +03:00
|
|
|
"resolve": "1.5.0",
|
2017-11-03 10:06:25 +03:00
|
|
|
"semver": "5.4.1",
|
2018-12-18 03:13:12 +03:00
|
|
|
"string-width": "3.0.0",
|
2019-04-04 10:32:54 +03:00
|
|
|
"typescript": "3.4.1",
|
2018-09-02 11:20:22 +03:00
|
|
|
"unicode-regex": "2.0.0",
|
2018-06-21 05:29:42 +03:00
|
|
|
"unified": "6.1.6",
|
2018-08-31 06:26:07 +03:00
|
|
|
"vnopts": "1.0.2",
|
2018-12-08 13:28:29 +03:00
|
|
|
"yaml": "1.0.2",
|
|
|
|
"yaml-unist-parser": "1.0.0"
|
2017-06-17 17:36:50 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-12-14 18:45:26 +03:00
|
|
|
"@babel/core": "7.2.0",
|
2019-06-08 00:20:40 +03:00
|
|
|
"@babel/preset-env": "7.4.5",
|
|
|
|
"babel-loader": "8.0.6",
|
2018-07-02 05:49:16 +03:00
|
|
|
"benchmark": "2.1.4",
|
2018-05-24 21:30:45 +03:00
|
|
|
"builtin-modules": "2.0.0",
|
2018-12-18 03:16:32 +03:00
|
|
|
"codecov": "codecov/codecov-node#e427d900309adb50746a39a50aa7d80071a5ddd0",
|
2017-11-06 16:38:37 +03:00
|
|
|
"cross-env": "5.0.5",
|
2019-06-12 17:40:05 +03:00
|
|
|
"eslint": "5.16.0",
|
|
|
|
"eslint-config-prettier": "4.3.0",
|
|
|
|
"eslint-formatter-friendly": "6.0.0",
|
|
|
|
"eslint-plugin-import": "2.17.3",
|
|
|
|
"eslint-plugin-prettier": "3.1.0",
|
|
|
|
"eslint-plugin-react": "7.13.0",
|
2018-06-18 21:16:40 +03:00
|
|
|
"execa": "0.10.0",
|
2018-07-04 22:54:39 +03:00
|
|
|
"jest": "23.3.0",
|
2018-07-07 19:11:04 +03:00
|
|
|
"jest-junit": "5.0.0",
|
2018-09-01 07:11:19 +03:00
|
|
|
"jest-snapshot-serializer-ansi": "1.0.0",
|
|
|
|
"jest-snapshot-serializer-raw": "1.1.0",
|
2018-07-04 22:54:39 +03:00
|
|
|
"jest-watch-typeahead": "0.1.0",
|
2017-10-02 18:58:21 +03:00
|
|
|
"mkdirp": "0.5.1",
|
2019-06-07 17:57:01 +03:00
|
|
|
"prettier": "1.18.2",
|
2017-11-22 14:27:40 +03:00
|
|
|
"prettylint": "1.0.0",
|
2017-11-06 16:38:37 +03:00
|
|
|
"rimraf": "2.6.2",
|
2019-06-07 22:58:05 +03:00
|
|
|
"rollup": "1.14.3",
|
|
|
|
"rollup-plugin-alias": "1.5.2",
|
|
|
|
"rollup-plugin-babel": "4.3.2",
|
|
|
|
"rollup-plugin-commonjs": "10.0.0",
|
|
|
|
"rollup-plugin-json": "4.0.0",
|
|
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
|
|
"rollup-plugin-node-globals": "1.4.0",
|
|
|
|
"rollup-plugin-node-resolve": "5.0.1",
|
|
|
|
"rollup-plugin-replace": "2.2.0",
|
|
|
|
"rollup-plugin-terser": "5.0.0",
|
2018-02-02 18:06:47 +03:00
|
|
|
"shelljs": "0.8.1",
|
2018-07-03 09:06:29 +03:00
|
|
|
"snapshot-diff": "0.4.0",
|
2017-10-02 20:56:34 +03:00
|
|
|
"strip-ansi": "4.0.0",
|
2018-01-12 19:19:20 +03:00
|
|
|
"tempy": "0.2.1",
|
2018-06-13 23:23:33 +03:00
|
|
|
"webpack": "3.12.0"
|
2016-12-23 22:31:38 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-10-03 11:34:08 +03:00
|
|
|
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
|
2017-10-03 12:44:02 +03:00
|
|
|
"prepare-release": "yarn && yarn build && yarn test:dist",
|
2016-12-31 07:03:22 +03:00
|
|
|
"test": "jest",
|
2018-01-12 19:19:20 +03:00
|
|
|
"test:dist": "node ./scripts/test-dist.js",
|
2017-05-24 00:19:04 +03:00
|
|
|
"test-integration": "jest tests_integration",
|
2018-07-23 13:20:28 +03: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",
|
2019-06-12 17:40:05 +03:00
|
|
|
"lint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
|
2017-12-31 07:23:17 +03:00
|
|
|
"lint-docs": "prettylint {.,docs,website,website/blog}/*.md",
|
2018-11-28 07:52:05 +03:00
|
|
|
"lint-dist": "eslint --no-eslintrc --no-ignore --env=browser \"dist/!(bin-prettier|index|third-party).js\"",
|
2018-08-07 13:53:11 +03:00
|
|
|
"build": "node --max-old-space-size=2048 ./scripts/build/build.js",
|
2018-05-27 21:14:01 +03:00
|
|
|
"build-docs": "node ./scripts/build-docs.js",
|
2017-11-07 06:39:07 +03:00
|
|
|
"check-deps": "node ./scripts/check-deps.js"
|
2016-11-29 20:14:10 +03:00
|
|
|
}
|
2017-09-01 13:17:07 +03:00
|
|
|
}
|