mirror of
https://github.com/quartz-community/runtime.git
synced 2026-07-22 02:50:26 +00:00
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.
51 lines
1.1 KiB
JSON
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"
|
|
}
|
|
}
|