UNPKG

prettier-plugin-brace-style

Version:

A Prettier plugin that can apply ESLint's brace-style rules.

80 lines (79 loc) 2.31 kB
{ "name": "prettier-plugin-brace-style", "version": "0.10.1", "description": "A Prettier plugin that can apply ESLint's brace-style rules.", "keywords": [ "prettier", "plugin", "brace", "style", "eslint", "stylistic", "brace-style", "1tbs", "stroustrup", "allman", "curly", "bracket" ], "repository": { "type": "git", "url": "git+https://github.com/ony3000/prettier-plugin-brace-style.git" }, "license": "MIT", "author": "Hyeonjong <nianelo4@gmail.com>", "main": "./dist/index.js", "files": [ "dist" ], "scripts": { "build": "pnpm run clean:bundle && esbuild src/index.ts --bundle --outdir=dist --platform=node \"--external:@prettier\" \"--external:prettier\" --minify", "build:plain": "pnpm run clean:bundle && esbuild src/index.ts --bundle --outdir=dist --platform=node \"--external:@prettier\" \"--external:prettier\"", "clean": "pnpm run clean:bundle", "clean:bundle": "rimraf dist/", "lint": "biome lint --max-diagnostics=none src/ tests/", "preview": "pnpm run build:plain && npm version prerelease --preid=alpha --git-tag-version=false && npm pack", "preview:minor": "pnpm run build:plain && npm version preminor --preid=alpha --git-tag-version=false && npm pack", "test": "vitest run --passWithNoTests" }, "dependencies": { "zod": "3.22.4" }, "devDependencies": { "@biomejs/biome": "2.0.0", "@oxc-parser/binding-linux-x64-gnu": "0.99.0", "@prettier/plugin-oxc": "0.1.3", "@trivago/prettier-plugin-sort-imports": "4.2.1", "@types/node": "20.17.46", "esbuild": "0.25.0", "eslint": "9.39.2", "prettier": "3.8.1", "prettier-plugin-astro": "0.11.0", "prettier-plugin-svelte": "3.0.0", "rimraf": "6.1.2", "typescript": "5.8.3", "vite-tsconfig-paths": "4.2.3", "vitest": "3.1.4" }, "peerDependencies": { "@prettier/plugin-oxc": "*", "prettier": "^3", "prettier-plugin-astro": "*", "prettier-plugin-svelte": "*" }, "peerDependenciesMeta": { "@prettier/plugin-oxc": { "optional": true }, "prettier-plugin-astro": { "optional": true }, "prettier-plugin-svelte": { "optional": true } }, "packageManager": "pnpm@10.10.0", "engines": { "node": ">=18" } }