UNPKG

prettier-plugin-embed

Version:

A configurable Prettier plugin to format embedded languages in JS/TS files.

129 lines 4.09 kB
{ "name": "prettier-plugin-embed", "description": "A configurable Prettier plugin to format embedded languages in JS/TS files.", "private": false, "version": "0.5.0", "type": "module", "files": [ "./dist" ], "main": "./dist/index.js", "module": "./dist/index.js", "exports": { ".": { "import": "./dist/index.js", "default": "./dist/index.js" }, "./plugin-embed": { "types": "./dist/plugin-embed.d.ts" }, "./embedded/*": { "types": "./dist/embedded/*.d.ts" }, "./embedded/index": null, "./embedded/register": null, "./embedded/types": null, "./embedded/utils": null, "./embedded/*/index": null, "./embedded/*/language": null, "./embedded/*/options": null, "./embedded/*/embedder": null, "./embedded/*/parser": null, "./embedded/*/printer": null }, "repository": { "type": "git", "url": "git+https://github.com/Sec-ant/prettier-plugin-embed.git" }, "homepage": "https://github.com/Sec-ant/prettier-plugin-embed", "bugs": { "url": "https://github.com/Sec-ant/prettier-plugin-embed/issues", "email": "zezhengwu@proton.me" }, "keywords": [ "prettier", "plugin", "prettier-plugin", "embed", "embedded", "embedded-language", "format" ], "author": { "name": "Ze-Zheng Wu" }, "license": "MIT", "publishConfig": { "access": "public" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@changesets/cli": "^2.28.1", "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@prettier/plugin-php": "^0.22.4", "@prettier/plugin-pug": "^3.2.1", "@prettier/plugin-ruby": "^4.0.4", "@prettier/plugin-xml": "^3.4.1", "@stedi/prettier-plugin-jsonata": "^2.1.3", "@types/node": "^22.13.5", "@vitest/coverage-istanbul": "^3.0.6", "@vitest/ui": "^3.0.6", "@xml-tools/parser": "^1.0.11", "chevrotain": "7.1.1", "concurrently": "^9.1.2", "copy-files-from-to": "^3.12.1", "esbuild": "^0.25.0", "lint-staged": "^15.4.3", "npm-check-updates": "^17.1.14", "prettier": "^3.5.2", "prettier-plugin-glsl": "^0.2.0", "prettier-plugin-ini": "^1.3.0", "prettier-plugin-java": "^2.6.7", "prettier-plugin-latex": "^2.0.1", "prettier-plugin-nginx": "^1.0.3", "prettier-plugin-pegjs": "^2.0.2", "prettier-plugin-prisma": "^5.0.0", "prettier-plugin-properties": "^0.3.0", "prettier-plugin-sh": "^0.15.0", "prettier-plugin-sql": "^0.18.1", "prettier-plugin-sql-cst": "^0.12.2", "prettier-plugin-toml": "^2.0.2", "simple-git-hooks": "^2.11.1", "tinyglobby": "^0.2.12", "tsx": "^4.19.3", "typescript": "^5.7.3", "vite": "^6.1.1", "vitest": "^3.0.6" }, "dependencies": { "@types/estree": "^1.0.6", "dedent": "^1.5.3", "micro-memoize": "^4.1.3", "package-up": "^5.0.0", "tiny-jsonc": "^1.0.2", "type-fest": "^4.35.0" }, "scripts": { "update-hooks": "simple-git-hooks", "lint": "biome lint .", "type-check": "tsc --noEmit --emitDeclarationOnly false", "format:prettier": "prettier . --write", "format:biome": "biome format . --write", "format": "conc \"pnpm:format:prettier\" \"pnpm:format:biome\"", "check:biome": "biome check . --write", "check": "conc \"pnpm:format:prettier\" \"pnpm:check:biome\"", "prebuild": "pnpm -s check && pnpm -s type-check", "build": "vite build", "add-glob-import-types": "tsx ./scripts/add-glob-import-types.ts", "nocheck-chevrotain-types": "tsx ./scripts/nocheck-chevrotain-types.ts", "copy": "copy-files-from-to", "postbuild": "tsc --project ./tsconfig.production.json && conc \"pnpm:add-glob-import-types\" \"pnpm:nocheck-chevrotain-types\" \"pnpm:copy\"", "test": "vitest", "test:ui": "vitest --ui", "process-readme": "tsx ./scripts/process-readme", "restore-readme": "tsx ./scripts/restore-readme", "bump-biome:latest": "pnpm add -DE @biomejs/biome@latest", "bump-biome:nightly": "pnpm add -DE @biomejs/biome@nightly" } }