webfont 12.3.0 → 12.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.md +1 -1
- package/README.md +73 -6
- package/dist/cli.mjs +273 -255
- package/dist/index.js +1 -1
- package/dist/index.mjs +142 -132
- package/dist/src/lib/ttfEncode.d.mts +3 -0
- package/dist/src/lib/ttfEncode.d.ts +3 -0
- package/dist/src/standalone/inputMode.d.mts +1 -1
- package/dist/src/standalone/inputMode.d.ts +1 -1
- package/dist/src/types/TranscodedFont.d.mts +1 -0
- package/dist/src/types/TranscodedFont.d.ts +1 -0
- package/package.json +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webfont",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.1",
|
|
4
4
|
"description": "Generator of fonts from SVG icons; decompress WOFF/WOFF2 to embedded TTF/OTF (not TTF↔OTF transcoding)",
|
|
5
5
|
"directories": {
|
|
6
6
|
"lib": "dist",
|
|
@@ -51,6 +51,12 @@
|
|
|
51
51
|
"build": "vite build --mode library && vite build --mode library-esm && vite build --mode browser && vite build --mode cli && node scripts/emit-mts-types.mjs",
|
|
52
52
|
"clean": "rm -rf dist/ temp/",
|
|
53
53
|
"demo": "node dist/cli.mjs './src/fixtures/svg-icons/*.svg' -d demo -t html --normalize --center-horizontally",
|
|
54
|
+
"docs:build": "npm run build && npm run docs:site",
|
|
55
|
+
"docs:demo": "node dist/cli.mjs './src/fixtures/svg-icons/*.svg' -d public/font-demo -t html --normalize --center-horizontally --dest-create",
|
|
56
|
+
"predocs:site": "node -e \"require('node:fs').existsSync('dist/cli.mjs')||require('node:child_process').execSync('npm run build',{stdio:'inherit'})\"",
|
|
57
|
+
"docs:site": "npm run docs:demo && vitepress build",
|
|
58
|
+
"docs:dev": "vitepress dev",
|
|
59
|
+
"docs:preview": "vitepress preview",
|
|
54
60
|
"lint": "biome check .",
|
|
55
61
|
"lint:suppressions": "node scripts/check-no-suppressions.mjs",
|
|
56
62
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
@@ -74,6 +80,7 @@
|
|
|
74
80
|
"dependencies": {
|
|
75
81
|
"cosmiconfig": "9.0.2",
|
|
76
82
|
"deepmerge": "^4.2.2",
|
|
83
|
+
"fonteditor-core": "2.6.3",
|
|
77
84
|
"fontverter": "2.0.0",
|
|
78
85
|
"globby": "16.2.0",
|
|
79
86
|
"meow": "14.1.0",
|
|
@@ -111,6 +118,7 @@
|
|
|
111
118
|
"vite": "8.1.3",
|
|
112
119
|
"vite-plugin-checker": "0.14.4",
|
|
113
120
|
"vite-plugin-dts": "5.0.3",
|
|
121
|
+
"vitepress": "1.6.4",
|
|
114
122
|
"vitest": "4.1.9"
|
|
115
123
|
},
|
|
116
124
|
"overrides": {
|