runtime/package.json
saberzero1 4ae96eb52c
fix: resolve links correctly on subdirectory deployments
Use resolveBasePath() from @quartz-community/utils/path to prepend the
base path when navigating via SPA routing. Fixes links resolving to the
domain root instead of the subdirectory.
2026-03-18 11:50:43 +01:00

51 lines
1.1 KiB
JSON

{
"name": "@quartz-community/runtime",
"version": "0.1.0",
"description": "Browser runtime utilities 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/runtime"
},
"keywords": [
"quartz",
"quartz-plugin",
"runtime",
"browser"
],
"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"
},
"devDependencies": {},
"engines": {
"node": ">=22",
"npm": ">=10.9.2"
},
"dependencies": {
"@quartz-community/types": "github:quartz-community/types",
"@quartz-community/utils": "github:quartz-community/utils",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
}
}