description/package.json

105 lines
2.5 KiB
JSON

{
"name": "@quartz-community/description",
"version": "0.1.0",
"description": "Description transformer plugin for Quartz",
"type": "module",
"license": "MIT",
"author": "Quartz Community",
"homepage": "https://github.com/quartz-community/description",
"repository": {
"type": "git",
"url": "https://github.com/quartz-community/description"
},
"keywords": [
"quartz",
"quartz-plugin",
"description",
"rehype",
"hast"
],
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint . --max-warnings=0",
"format": "prettier . --check",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"check": "npm run typecheck && npm run lint && npm run format && npm run test"
},
"peerDependencies": {
"preact": "^10.0.0"
},
"peerDependenciesMeta": {
"preact": {
"optional": false
}
},
"dependencies": {
"@quartz-community/types": "github:quartz-community/types",
"@quartz-community/utils": "github:quartz-community/utils"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"@types/node": "^24.10.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"github-slugger": "^2.0.0",
"hast": "^1.0.0",
"hast-util-to-jsx-runtime": "^2.3.6",
"hast-util-to-string": "^3.0.1",
"preact": "^10.28.2",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"vfile": "^6.0.3",
"vitest": "^2.1.9"
},
"engines": {
"node": ">=22",
"npm": ">=10.9.2"
},
"quartz": {
"name": "description",
"displayName": "Description",
"category": "transformer",
"version": "1.0.0",
"quartzVersion": ">=5.0.0",
"dependencies": [],
"defaultOrder": 70,
"defaultEnabled": true,
"defaultOptions": {
"descriptionLength": 150,
"maxDescriptionLength": 300,
"replaceExternalLinks": true
},
"optionSchema": {
"descriptionLength": {
"type": "number"
},
"maxDescriptionLength": {
"type": "number"
},
"replaceExternalLinks": {
"type": "boolean"
}
}
}
}