UNPKG

@tcd-devkit/prettier-config

Version:

Shareable Prettier configuration for consistent code formatting across @tcd-devkit projects. Includes plugins for sorting imports, formatting package.json, and TOML files.

77 lines 1.96 kB
{ "name": "@tcd-devkit/prettier-config", "version": "0.2.4", "description": "Shareable Prettier configuration for consistent code formatting across @tcd-devkit projects. Includes plugins for sorting imports, formatting package.json, and TOML files.", "keywords": [ "tcd-devkit", "config", "prettier", "prettierconfig", "prettier-config", "format", "formatter", "code-style", "base" ], "homepage": "https://github.com/thecodedestroyer/devkit", "bugs": { "url": "https://github.com/thecodedestroyer/devkit/issues" }, "repository": { "type": "git", "url": "https://github.com/thecodedestroyer/devkit.git", "directory": "packages/prettier/prettier-config" }, "license": "MIT", "author": { "name": "Nace Logar", "email": "the.code.destroyer@gmail.com", "url": "https://thecodedestroyer.com" }, "type": "module", "exports": { ".": { "types": "./dist/base.formatter.d.ts", "require": "./dist/base.formatter.cjs", "import": "./dist/base.formatter.js" } }, "main": "./dist/base.formatter.cjs", "module": "./dist/base.formatter.js", "types": "./dist/base.formatter.d.ts", "typesVersions": { "*": { ".": [ "./dist/base.formatter.d.ts" ] } }, "files": [ "dist", "!dist/**/*.d.ts.map" ], "dependencies": { "@ianvs/prettier-plugin-sort-imports": "4.6.2", "prettier-plugin-packagejson": "2.5.19", "prettier-plugin-toml": "2.0.6" }, "devDependencies": { "@total-typescript/ts-reset": "0.6.1", "@types/node": "22.18.0", "tsup": "8.5.0", "typescript": "5.9.2", "@tcd-devkit/scripts": "0.1.7", "@tcd-devkit/tsconfig": "0.1.1", "@tcd-devkit/tsup-config": "0.0.6" }, "peerDependencies": { "prettier": "^3.0.0" }, "engines": { "node": "^18.18.0 || >=20.6.0" }, "scripts": { "build": "tsup", "lint:types": "tcd-scripts lint --only=tsc" } }