崮生(子虚) 5c85a2ebe7 chore(leafer-x-webfont): 0.2.0 发布 + demo CDN 引用统一 importmap @latest
- npm 0.2.0:脏节点增量扫描 + 贡献者回记 + 百万节点零风暴(见 0ab51e4)
- demo 页三个裸导入统一进 importmap,版本引用 0.1.0/0.2.0 混用 → 全部 @latest
2026-08-15 23:27:42 +08:00

52 lines
1.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "leafer-x-webfont",
"version": "0.2.0",
"description": "LeaferJS 字体插件 —— Text 元素自动按需加载字体子集6 字 ≈ 6KB让画布与导出图用上任意中文字体",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsdown",
"typecheck": "tsc --noEmit"
},
"keywords": [
"leafer",
"leaferjs",
"webfont",
"font-subset",
"canvas-font",
"chinese-font",
"poster"
],
"repository": {
"type": "git",
"url": "git+https://github.com/2234839/web-font.git",
"directory": "packages/leafer-x-webfont"
},
"author": "崮生(子虚)",
"license": "MIT",
"peerDependencies": {
"leafer-ui": "^2.0.0"
},
"peerDependenciesMeta": {
"leafer-ui": {
"optional": true
}
},
"dependencies": {
"webfont-sdk": "workspace:*"
}
}