forked from KonghaYao/cn-font-split
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "cn-font-split",
"version": "7.0.0-beta.2",
"description": "划时代的字体切割工具,CJK与任何字符!支持 otf、ttf、woff2 字体多线程切割,完美地细颗粒度地进行包大小控制。A revolutionary font subetter that supports CJK and any characters! It enables multi-threaded subset of otf, ttf, and woff2 fonts, allowing for precise control over package size.",
"main": "./dist/node/index.js",
"module": "./dist/node/index.mjs",
"browser": "./dist/wasm/index.mjs",
"bin": {
"cn-font-split": "./dist/cli.js"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"postinstall": "node ./dist/node/init.js || node -v",
"update-proto": "proto-to-cli -i ../../crates/proto/src/index.proto -m InputTemplate -o ./src/gen/proto.ts && sh scripts/build_proto_ts.sh",
"build": "pnpm update-proto && vite build",
"prepublish": "pnpm build"
},
"repository": {
"type": "git",
"url": "https://github.com/KonghaYao/cn-font-split/tree/ts/packages/subsets"
},
"homepage": "https://chinese-font.netlify.app/",
"keywords": [
"font",
"converter",
"performance",
"wasm",
"woff2",
"ttf",
"otf",
"opentype-fonts",
"font-subsetter",
"font-subset",
"cjk"
],
"author": "KonghaYao<dongzhongzhidong@qq.com>",
"license": "Apache-2.0",
"dependencies": {
"buffer": "^6.0.3",
"commander": "^12.1.0",
"fs-extra": "^11.2.0",
"google-protobuf": "^3.21.4",
"koffi": "^2.10.0",
"proto-to-cli": "1.1.2"
},
"devDependencies": {
"@xan105/ffi": "^1.3.0",
"@grpc/grpc-js": "^1.12.2",
"@tybys/wasm-util": "^0.9.0",
"@types/google-protobuf": "^3.15.12",
"base64-js": "^1.5.1",
"ieee754": "^1.2.1",
"memfs-browser": "^3.5.10302",
"protobufjs": "^7.4.0"
}
}