mirror of
https://github.com/quartz-community/content-meta.git
synced 2026-07-22 02:50:23 +00:00
Peer dependencies needed at build time for TypeScript declaration file generation were missing from devDependencies. Without them, the DTS build fails silently, producing no index.d.ts.
107 lines
2.5 KiB
JSON
107 lines
2.5 KiB
JSON
{
|
|
"name": "@quartz-community/content-meta",
|
|
"version": "0.1.0",
|
|
"description": "ContentMeta component for Quartz - displays date and reading time",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"author": "Quartz Community",
|
|
"homepage": "https://github.com/quartz-community/content-meta",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/quartz-community/content-meta"
|
|
},
|
|
"keywords": [
|
|
"quartz",
|
|
"quartz-plugin",
|
|
"content-meta",
|
|
"reading-time",
|
|
"date",
|
|
"component"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./components": {
|
|
"types": "./dist/components/index.d.ts",
|
|
"import": "./dist/components/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": {
|
|
"@jackyzha0/quartz": "^4.5.2",
|
|
"preact": "^10.0.0",
|
|
"reading-time": "^1.5.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@jackyzha0/quartz": {
|
|
"optional": true
|
|
},
|
|
"preact": {
|
|
"optional": false
|
|
},
|
|
"reading-time": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@quartz-community/types": "github:quartz-community/types"
|
|
},
|
|
"devDependencies": {
|
|
"@types/hast": "^3.0.4",
|
|
"@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",
|
|
"preact": "^10.28.2",
|
|
"prettier": "^3.6.2",
|
|
"reading-time": "^1.5.0",
|
|
"sass": "^1.97.3",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^2.1.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"npm": ">=10.9.2"
|
|
},
|
|
"quartz": {
|
|
"name": "content-meta",
|
|
"displayName": "Content Meta",
|
|
"category": "component",
|
|
"version": "1.0.0",
|
|
"quartzVersion": ">=5.0.0",
|
|
"dependencies": [],
|
|
"defaultOrder": 50,
|
|
"defaultEnabled": true,
|
|
"defaultOptions": {},
|
|
"components": {
|
|
"ContentMeta": {
|
|
"displayName": "Content Meta",
|
|
"defaultPosition": "beforeBody",
|
|
"defaultPriority": 20
|
|
}
|
|
}
|
|
}
|
|
}
|