* globby@10 update (with fast-glob implementation)
with some minor test snapshot updates in tests_integration since
fast-glob does not always keep the same file order as node-glob
* with no `nodir: true` option
use of no `nodir: true` option was introduced in 639c52388
but it does not seem to be needed with some newer
versions of globby
* with workaround for fast-glob on Windows
ref: https://github.com/mrmlnc/fast-glob#how-to-write-patterns-on-windows
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Christopher J. Brody <chris@brody.consulting>
* Revert "with no `nodir: true` option"
This reverts commit f7297cbceebc3d939bca0d90a904a1d3fea45345.
* revert updates to snapshots in tests_integration
* sort the file paths from globby
and update some snapshots in tests_integration
* Update build scripts
* replace `util.promisify` with `pify`
* style
* typo
* add pify to dict
* check index.js
* debug
* exclude `transform-async-to-generator`
* fix `bin-prettier.js`
* restore disabled script
* try depth:1
* remove depth add `./`
* sort dir
* disable expandDirectories
ref: https://github.com/sindresorhus/globby/blob/master/index.js#L95
* use absolute path
* remove sort()
* sort dir
* use `alphasorti` compare
* remove './'
* fix `findPluginsInNodeModules`
* fix `findPluginsInNodeModules`
* restore snap
* fix `findPluginsInNodeModules`
* return early
* code style
* sort
* update snap
* try mem
* mem `loadPlugins` function
* fix
* glob directories instead of package.json
* use deep
* remove mem
* improve speed
* support dot pattern
* expand directories test
* restore import order
* remove snap
* update test
* restore `findPluginsInNodeModules`
* Update `globby`
* `fast-glob` beta
* Restore logic
* Add tests for `globby` update
* Fix tests
* Remove option with default value
* Try new beta version of `fast-glob`
* Restore error info
* Add `path.sep` check
134 lines
4.7 KiB
JSON
134 lines
4.7 KiB
JSON
{
|
|
"name": "prettier",
|
|
"version": "2.0.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",
|
|
"engines": {
|
|
"node": ">=10.13.0"
|
|
},
|
|
"dependencies": {
|
|
"@angular/compiler": "9.0.1",
|
|
"@babel/code-frame": "7.8.0",
|
|
"@babel/parser": "7.8.4",
|
|
"@glimmer/syntax": "0.47.9",
|
|
"@iarna/toml": "2.2.3",
|
|
"@typescript-eslint/typescript-estree": "2.20.0",
|
|
"angular-estree-parser": "1.3.0",
|
|
"angular-html-parser": "1.4.0",
|
|
"camelcase": "5.3.1",
|
|
"chalk": "3.0.0",
|
|
"ci-info": "2.0.0",
|
|
"cjk-regex": "2.0.0",
|
|
"cosmiconfig": "6.0.0",
|
|
"dashify": "2.0.0",
|
|
"dedent": "0.7.0",
|
|
"diff": "4.0.2",
|
|
"editorconfig": "0.15.3",
|
|
"editorconfig-to-prettier": "0.1.1",
|
|
"escape-string-regexp": "2.0.0",
|
|
"esutils": "2.0.3",
|
|
"find-parent-dir": "0.3.0",
|
|
"find-project-root": "1.1.1",
|
|
"flow-parser": "0.118.0",
|
|
"get-stream": "5.1.0",
|
|
"globby": "11.0.0",
|
|
"graphql": "14.6.0",
|
|
"html-element-attributes": "2.2.1",
|
|
"html-styles": "1.0.0",
|
|
"html-tag-names": "1.1.5",
|
|
"ignore": "4.0.6",
|
|
"jest-docblock": "25.1.0",
|
|
"json-stable-stringify": "1.0.1",
|
|
"leven": "3.1.0",
|
|
"lines-and-columns": "1.1.6",
|
|
"linguist-languages": "7.8.0",
|
|
"lodash": "4.17.15",
|
|
"mem": "6.0.1",
|
|
"minimatch": "3.0.4",
|
|
"minimist": "1.2.0",
|
|
"n-readlines": "1.0.0",
|
|
"postcss-less": "2.0.0",
|
|
"postcss-media-query-parser": "0.2.3",
|
|
"postcss-scss": "2.0.0",
|
|
"postcss-selector-parser": "2.2.3",
|
|
"postcss-values-parser": "2.0.1",
|
|
"regexp-util": "1.2.2",
|
|
"remark-math": "1.0.6",
|
|
"remark-parse": "5.0.0",
|
|
"resolve": "1.15.1",
|
|
"semver": "7.1.3",
|
|
"srcset": "2.0.1",
|
|
"string-width": "4.2.0",
|
|
"typescript": "3.7.5",
|
|
"unicode-regex": "3.0.0",
|
|
"unified": "8.4.2",
|
|
"vnopts": "1.0.2",
|
|
"yaml-unist-parser": "1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.8.4",
|
|
"@babel/preset-env": "7.8.4",
|
|
"@rollup/plugin-alias": "3.0.1",
|
|
"@rollup/plugin-commonjs": "11.0.2",
|
|
"@rollup/plugin-json": "4.0.2",
|
|
"@rollup/plugin-node-resolve": "7.1.1",
|
|
"@rollup/plugin-replace": "2.3.1",
|
|
"babel-loader": "8.0.6",
|
|
"benchmark": "2.1.4",
|
|
"builtin-modules": "3.1.0",
|
|
"codecov": "3.6.5",
|
|
"cross-env": "7.0.0",
|
|
"cspell": "4.0.47",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-prettier": "6.10.0",
|
|
"eslint-formatter-friendly": "7.0.0",
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
"eslint-plugin-react": "7.18.3",
|
|
"eslint-plugin-unicorn": "16.1.1",
|
|
"execa": "4.0.0",
|
|
"jest": "25.1.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",
|
|
"prettier": "1.19.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "1.31.1",
|
|
"rollup-plugin-babel": "4.3.3",
|
|
"rollup-plugin-node-globals": "1.4.0",
|
|
"rollup-plugin-terser": "5.2.0",
|
|
"shelljs": "0.8.3",
|
|
"snapshot-diff": "0.7.0",
|
|
"strip-ansi": "6.0.0",
|
|
"synchronous-promise": "2.0.10",
|
|
"tempy": "0.4.0",
|
|
"terser-webpack-plugin": "2.3.5",
|
|
"webpack": "4.41.6"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1",
|
|
"prepare-release": "yarn && yarn build && yarn test:dist",
|
|
"test": "jest",
|
|
"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",
|
|
"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",
|
|
"lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser \"dist/!(bin-prettier|index|third-party).js\"",
|
|
"lint:spellcheck": "cspell {bin,scripts,src}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md",
|
|
"lint:deps": "node ./scripts/check-deps.js",
|
|
"build": "node --max-old-space-size=3072 ./scripts/build/build.js",
|
|
"build-docs": "node ./scripts/build-docs.js"
|
|
}
|
|
}
|