mirror of
https://github.com/quartz-community/utils.git
synced 2026-07-22 02:50:27 +00:00
Import branded types from the canonical types package instead of re-defining them with different brand names. This ensures plugins using both @quartz-community/types and @quartz-community/utils have structurally compatible FullSlug and FilePath types.
81 lines
1.9 KiB
JSON
81 lines
1.9 KiB
JSON
{
|
|
"name": "@quartz-community/utils",
|
|
"version": "0.1.0",
|
|
"description": "Shared utility functions 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/utils"
|
|
},
|
|
"keywords": [
|
|
"quartz",
|
|
"quartz-plugin",
|
|
"utilities",
|
|
"path",
|
|
"dom"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./path": {
|
|
"types": "./dist/path.d.ts",
|
|
"import": "./dist/path.js"
|
|
},
|
|
"./dom": {
|
|
"types": "./dist/dom.d.ts",
|
|
"import": "./dist/dom.js"
|
|
},
|
|
"./lang": {
|
|
"types": "./dist/lang.d.ts",
|
|
"import": "./dist/lang.js"
|
|
},
|
|
"./escape": {
|
|
"types": "./dist/escape.d.ts",
|
|
"import": "./dist/escape.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@quartz-community/types": "github:quartz-community/types",
|
|
"github-slugger": "^2.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"prepare": "npm run build",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@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",
|
|
"prettier": "^3.6.2",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^2.1.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"npm": ">=10.9.2"
|
|
}
|
|
}
|