Files
test-repo/package.json
T

132 lines
4.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",
2019-11-09 13:23:22 +01:00
"version": "1.20.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",
2017-09-16 19:47:53 +03:00
"engines": {
"node": ">=8"
2017-09-16 19:47:53 +03:00
},
"dependencies": {
"@angular/compiler": "8.2.14",
2019-08-08 20:00:42 +08:00
"@babel/code-frame": "7.5.5",
"@babel/parser": "7.8.0",
2019-07-08 10:07:41 +01:00
"@glimmer/syntax": "0.41.0",
2019-05-17 10:15:45 -03:00
"@iarna/toml": "2.2.3",
"@typescript-eslint/typescript-estree": "2.11.0",
"angular-estree-parser": "1.1.5",
2019-11-02 15:58:28 +01:00
"angular-html-parser": "1.3.0",
2019-09-28 21:42:43 +08:00
"camelcase": "5.3.1",
2019-09-30 19:49:39 +08:00
"chalk": "2.4.2",
"cjk-regex": "2.0.0",
2019-09-28 21:43:06 +08:00
"cosmiconfig": "5.2.1",
2019-09-28 21:44:20 +08:00
"dashify": "2.0.0",
"dedent": "0.7.0",
2019-09-30 19:45:01 +08:00
"diff": "4.0.1",
2019-09-28 21:41:30 +08:00
"editorconfig": "0.15.3",
"editorconfig-to-prettier": "0.1.1",
2017-10-11 17:46:44 -05:00
"escape-string-regexp": "1.0.5",
2019-09-30 19:44:43 +08:00
"esutils": "2.0.3",
"find-parent-dir": "0.3.0",
"find-project-root": "1.1.1",
"flow-parser": "0.116.0",
"get-stream": "4.1.0",
2017-10-02 10:58:21 -05:00
"globby": "6.1.0",
2019-09-30 19:46:37 +08:00
"graphql": "14.5.8",
"html-element-attributes": "2.2.0",
"html-styles": "1.0.0",
2019-09-28 21:39:32 +08:00
"html-tag-names": "1.1.4",
2019-04-08 15:38:20 -04:00
"ignore": "4.0.6",
"is-ci": "2.0.0",
2019-09-30 19:52:39 +08:00
"jest-docblock": "24.9.0",
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",
"lines-and-columns": "1.1.6",
"linguist-languages": "7.7.0",
2020-01-09 17:48:02 +02:00
"lodash": "4.17.15",
2019-10-30 20:26:41 +08:00
"mem": "5.1.1",
"minimatch": "3.0.4",
"minimist": "1.2.0",
2018-10-04 17:47:23 -07:00
"n-readlines": "1.0.0",
"normalize-path": "3.0.0",
"parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee",
2019-11-08 23:34:14 +08:00
"postcss-less": "2.0.0",
"postcss-media-query-parser": "0.2.3",
2018-11-15 17:23:26 +03:00
"postcss-scss": "2.0.0",
"postcss-selector-parser": "2.2.3",
"postcss-values-parser": "2.0.1",
"regexp-util": "1.2.2",
2019-09-28 22:40:13 +08:00
"remark-math": "1.0.6",
"remark-parse": "5.0.0",
2019-11-28 10:44:25 +01:00
"resolve": "1.13.1",
2019-09-29 09:45:16 +08:00
"semver": "6.3.0",
2019-11-01 21:43:12 +08:00
"string-width": "4.1.0",
2019-12-06 12:29:57 +03:00
"typescript": "3.7.3",
2019-10-01 18:54:24 +08:00
"unicode-regex": "3.0.0",
2019-11-11 17:48:44 +01:00
"unified": "8.4.2",
"vnopts": "1.0.2",
"yaml-unist-parser": "1.1.1"
},
"devDependencies": {
2019-11-09 02:37:56 +08:00
"@babel/core": "7.7.2",
"@babel/preset-env": "7.7.4",
2020-01-13 19:41:40 +08:00
"@rollup/plugin-alias": "3.0.0",
"@rollup/plugin-commonjs": "11.0.1",
2020-01-13 19:41:40 +08:00
"@rollup/plugin-json": "4.0.1",
"@rollup/plugin-replace": "2.3.0",
2019-06-07 18:20:40 -03:00
"babel-loader": "8.0.6",
"benchmark": "2.1.4",
2019-09-30 19:56:24 +08:00
"builtin-modules": "3.1.0",
2019-11-09 02:38:55 +08:00
"codecov": "3.6.1",
2019-10-30 20:36:29 +08:00
"cross-env": "6.0.3",
2020-01-13 19:53:14 +08:00
"eslint": "6.8.0",
"eslint-config-prettier": "6.7.0",
2019-08-08 18:21:32 +08:00
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-import": "2.20.0",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.17.0",
2019-11-27 11:12:26 +01:00
"execa": "3.4.0",
2018-07-04 21:54:39 +02:00
"jest": "23.3.0",
"jest-junit": "10.0.0",
"jest-snapshot-serializer-ansi": "1.0.0",
"jest-snapshot-serializer-raw": "1.1.0",
"jest-watch-typeahead": "0.4.2",
2017-10-02 10:58:21 -05:00
"mkdirp": "0.5.1",
2019-11-09 13:23:22 +01:00
"prettier": "1.19.1",
2019-09-28 21:40:47 +08:00
"rimraf": "3.0.0",
2020-01-13 19:41:40 +08:00
"rollup": "1.29.0",
2019-08-08 18:23:04 +08:00
"rollup-plugin-babel": "4.3.3",
2019-06-08 03:58:05 +08:00
"rollup-plugin-node-globals": "1.4.0",
2019-08-08 18:23:04 +08:00
"rollup-plugin-node-resolve": "5.2.0",
2020-01-13 19:41:40 +08:00
"rollup-plugin-terser": "5.1.3",
2019-09-28 22:32:39 +08:00
"shelljs": "0.8.3",
2018-07-03 08:06:29 +02:00
"snapshot-diff": "0.4.0",
2019-09-28 21:45:24 +08:00
"strip-ansi": "5.2.0",
"synchronous-promise": "2.0.10",
2018-01-13 03:19:20 +11:00
"tempy": "0.2.1",
"terser-webpack-plugin": "2.3.2",
2020-01-14 13:32:42 +03:00
"webpack": "4.41.5"
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",
2018-01-13 03:19:20 +11:00
"test:dist": "node ./scripts/test-dist.js",
"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",
2019-11-02 04:44:27 -04:00
"check-types": "tsc",
2019-06-12 22:40:05 +08:00
"lint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
2020-01-13 20:13:38 +08:00
"lint-docs": "prettier {.,docs,website,website/blog,changelog_unreleased,changelog_unreleased/*}/*.md --check",
"lint-dist": "eslint --no-eslintrc --no-ignore --env=browser \"dist/!(bin-prettier|index|third-party).js\"",
2019-10-03 20:24:03 +08:00
"build": "node --max-old-space-size=3072 ./scripts/build/build.js",
2018-05-27 15:14:01 -03:00
"build-docs": "node ./scripts/build-docs.js",
2019-10-25 00:07:17 +03:00
"check-deps": "node ./scripts/check-deps.js",
"spellcheck": "npx -p cspell@4.0.31 cspell {bin,scripts,src}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md"
2016-11-29 12:14:10 -05:00
}
}