75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
|
{
|
||
|
"name": "rehype-pretty-code",
|
||
|
"version": "0.13.0",
|
||
|
"description": "Beautiful code for your MD/MDX docs.",
|
||
|
"homepage": "https://rehype-pretty-code.netlify.app",
|
||
|
"type": "module",
|
||
|
"main": "./dist/index.js",
|
||
|
"module": "./dist/index.js",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"import": "./dist/index.js"
|
||
|
},
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist",
|
||
|
"package.json"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"build": "tsup --config=tsup.config.ts",
|
||
|
"test": "vitest --run",
|
||
|
"format": "biome format . --write",
|
||
|
"lint": "biome check --apply .",
|
||
|
"typecheck": "tsc --project tsconfig.json --noEmit",
|
||
|
"playground": "bun run workspace word-highlighter-playground dev",
|
||
|
"playground-website": "bun run workspace website dev",
|
||
|
"prepare": "husky install",
|
||
|
"workspace": "bun ./scripts/workspace.ts",
|
||
|
"release": "bumpp package.json --commit --push --tag",
|
||
|
"prebuild": "rm -rf dist",
|
||
|
"prepublishOnly": "NODE_ENV='production' bun run build",
|
||
|
"check-package": "bunx publint@latest --strict && bunx @arethetypeswrong/cli --pack --ignore-rules cjs-resolves-to-esm"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/hast": "^3.0.4",
|
||
|
"hast-util-to-string": "^3.0.0",
|
||
|
"parse-numeric-range": "^1.3.0",
|
||
|
"rehype-parse": "^9.0.0",
|
||
|
"unified": "^11.0.4",
|
||
|
"unist-util-visit": "^5.0.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@biomejs/biome": "^1.5.3",
|
||
|
"@types/bun": "^1.0.5",
|
||
|
"@types/node": "^20.11.16",
|
||
|
"bumpp": "^9.3.0",
|
||
|
"bun": "^1.0.26",
|
||
|
"hast-util-to-html": "^9.0.0",
|
||
|
"husky": "^9.0.10",
|
||
|
"mdast-util-to-hast": "^13.1.0",
|
||
|
"prettier": "^3.2.5",
|
||
|
"remark": "^15.0.1",
|
||
|
"tsup": "^8.0.1",
|
||
|
"typescript": "^5.3.3",
|
||
|
"vite": "^5.0.12",
|
||
|
"vitest": "^1.2.2",
|
||
|
"@shikijs/transformers": "^1.0.0",
|
||
|
"shiki": "^1.0.0"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"shiki": "^1.0.0"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=18"
|
||
|
},
|
||
|
"repository": "github:rehype-pretty/rehype-pretty-code",
|
||
|
"browserslist": [
|
||
|
"node 18"
|
||
|
],
|
||
|
"author": "https://github.com/atomiks",
|
||
|
"license": "MIT"
|
||
|
}
|