vite-plugin-font
Version:
An automatic Web Font optimization plugin that supports many platforms such as Vite, Next, Nuxt, and more.
69 lines • 1.6 kB
JSON
{
"version": "5.1.1",
"name": "vite-plugin-font",
"description": "An automatic Web Font optimization plugin that supports many platforms such as Vite, Next, Nuxt, and more.",
"main": "./dist/unplugin.js",
"module": "./dist/unplugin.mjs",
"types": "./dist/unplugin.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/KonghaYao/cn-font-split/tree/ts/packages/vite"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"dist",
"src"
],
"author": "KonghaYao<dongzhongzhidong@qq.com>",
"license": "Apache-2.0",
"keywords": [
"vite",
"vite-plugin",
"nuxt",
"nuxt-plugin",
"next",
"next-plugin",
"webpack",
"webpack-plugin",
"web-font",
"webfont",
"vue",
"react",
"converter",
"performance",
"wasm",
"woff2",
"ttf",
"otf",
"opentype-fonts",
"font-subsetter",
"font-subset",
"cjk"
],
"devDependencies": {
"typescript": "^5.6.3",
"vite": "^5.4.12"
},
"dependencies": {
"cn-font-metrics": "^2.1.6",
"cn-font-split": "^7.2.4",
"fontaine": "^0.5.0",
"fs-extra": "^11.2.0",
"glob": "^11.0.1",
"minimatch": "^10.0.1",
"unplugin": "^2.1.2"
},
"bugs": {
"url": "https://github.com/KonghaYao/cn-font-split/issues"
},
"homepage": "https://chinese-font.netlify.app",
"scripts": {
"build": "vite build && node ./scripts/fix_cjs.mjs && tsc",
"test": "node test/build.test.mjs",
"dev": "vite -c vite.config.test.mts",
"prepublish": "pnpm build"
}
}