types/package.json
saberzero1 0d62f52da4
fix: move tsup and typescript to dependencies for git install compatibility
When installed as a git dependency, npm skips devDependencies. Since
dist/ is gitignored and the prepare script needs tsup to build, these
must be regular dependencies so the prepare hook works on install.
2026-02-22 22:05:30 +01:00

52 lines
1.1 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",
"README.md",
"LICENSE"
],
"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",
"prepare": "npm run build",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"unified": "^11.0.5",
"vfile": "^6.0.3"
},
"engines": {
"node": ">=22",
"npm": ">=10.9.2"
}
}