This is a small CLI tool that dumps all of Prettier’s default configuration options to a file in the format of your choice.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 710B

1234567891011121314151617181920212223242526272829
  1. {
  2. "name": "prettier-default-config",
  3. "version": "0.2.1",
  4. "description": "Generate a prettier config file with all the possible options and their default values",
  5. "bin": "index.js",
  6. "scripts": {
  7. "format": "prettier --write ./*.js",
  8. "test": "tape test.js | faucet"
  9. },
  10. "author": "Dylan Baker <dylan@simulacrum.party>",
  11. "repository": {
  12. "type": "git",
  13. "url": "https://git.simulacrum.party/simulacrumparty/prettier-default-config"
  14. },
  15. "license": "MIT",
  16. "files": [
  17. "index.js"
  18. ],
  19. "dependencies": {
  20. "minimist": "^1.2.0",
  21. "prettier": "^1.19.1"
  22. },
  23. "devDependencies": {
  24. "faucet": "0.0.1",
  25. "tape": "^4.13.0",
  26. "toml": "^3.0.0",
  27. "yaml": "^1.7.2"
  28. }
  29. }