prettier-plugin-classnames
Version:
A Prettier plugin that wraps verbose class name based on the `printWidth` option.
68 lines (67 loc) • 2.06 kB
JSON
{
"name": "prettier-plugin-classnames",
"version": "0.8.3",
"description": "A Prettier plugin that wraps verbose class name based on the `printWidth` option.",
"keywords": [
"prettier",
"plugin",
"classnames",
"wrap",
"verbose",
"class",
"tailwindcss"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ony3000/prettier-plugin-classnames.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",
"@trivago/prettier-plugin-sort-imports": "4.2.1",
"@types/node": "20.17.46",
"esbuild": "0.25.0",
"prettier": "3.1.0",
"prettier-plugin-astro": "0.11.0",
"prettier-plugin-svelte": "3.0.0",
"rimraf": "5.0.1",
"typescript": "5.8.3",
"vite-tsconfig-paths": "4.2.3",
"vitest": "1.6.1"
},
"peerDependencies": {
"prettier": "^3",
"prettier-plugin-astro": "*",
"prettier-plugin-svelte": "*"
},
"peerDependenciesMeta": {
"prettier-plugin-astro": {
"optional": true
},
"prettier-plugin-svelte": {
"optional": true
}
},
"packageManager": "pnpm@10.10.0",
"engines": {
"node": ">=18"
}
}