{
	"name": "@vahor/rehype-d2",
	"version": "0.0.8",
	"description": "A Rehype plugin to convert D2 diagrams to SVG or PNG.",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/Vahor/rehype-d2.git"
	},
	"module": "index.ts",
	"type": "module",
	"exports": {
		".": {
			"types": "./dist/index.d.ts",
			"default": "./dist/index.js"
		},
		"./d2": {
			"types": "./dist/d2.d.ts"
		}
	},
	"main": "./dist/index.cjs",
	"private": false,
	"files": ["dist"],
	"author": {
		"email": "me@vahor.fr"
	},
	"keywords": [
		"rehype",
		"rehype-plugin",
		"d2",
		"diagram",
		"plugin",
		"documentation"
	],
	"devDependencies": {
		"@biomejs/biome": "1.9.4",
		"@changesets/changelog-github": "^0.5.1",
		"@types/bun": "latest",
		"bun-plugin-dts": "^0.3.0",
		"husky": "^9.1.7",
		"lint-staged": "^15.5.0",
		"pkg-pr-new": "^0.0.41",
		"rehype": "^13.0.2",
		"rehype-stringify": "^10.0.1",
		"remark": "^15.0.1",
		"remark-parse": "^11.0.0",
		"remark-rehype": "^11.1.1",
		"unified": "^11.0.5"
	},
	"dependencies": {
		"@terrastruct/d2": "^0.1.23",
		"hast-util-from-html": "^2.0.3",
		"mini-svg-data-uri": "^1.4.4",
		"svgo": "^3.3.2",
		"unist-util-visit-parents": "^6.0.1"
	},
	"peerDependencies": {
		"typescript": "^5"
	},
	"scripts": {
		"prepare": "husky",
		"build": "bun run build.ts",
		"format": "bunx @biomejs/biome check ./ --write",
		"typecheck": "tsc --noEmit --declaration"
	},
	"lint-staged": {
		"*": ["biome check --no-errors-on-unmatched --files-ignore-unknown=true"]
	},
	"publishConfig": {
		"access": "public"
	}
}
