types/package.json
saberzero1 653aece4c9
feat: add ContentIndex/ContentDetails types and globals.d.ts for centralized declarations
- Add ContentDetails and ContentIndex types to src/index.ts
- Create globals.d.ts with declare global block for Window, Document, CustomEventMap, and fetchData
- Export globals.d.ts via package.json files and exports map
- Enables community plugins to reference centralized type declarations
2026-03-16 18:50:58 +01:00

66 lines
1.3 KiB
JSON

{
"name": "@quartz-community/types",
"version": "0.2.1",
"description": "Type definitions for Quartz community plugins",
"type": "module",
"license": "MIT",
"author": "Quartz Community",
"homepage": "https://quartz.jzhao.xyz",
"repository": {
"type": "git",
"url": "https://github.com/quartz-community/types"
},
"keywords": [
"quartz",
"quartz-plugin",
"types",
"typescript"
],
"files": [
"dist",
"globals.d.ts",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./globals": {
"types": "./globals.d.ts"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {},
"engines": {
"node": ">=22",
"npm": ">=10.9.2"
},
"devDependencies": {
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
},
"peerDependencies": {
"unified": "^11.0.5",
"vfile": "^6.0.3"
},
"peerDependenciesMeta": {
"unified": {
"optional": true
},
"vfile": {
"optional": true
}
}
}