-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 1.84 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "bitmap-font-generator",
"version": "0.1.1",
"description": "Generate bitmap font atlases with lazy-loaded Unicode subsets from TTF/OTF fonts for PixiJS.",
"keywords": [
"bitmap-font",
"chinese-font",
"pixi",
"pixijs",
"font-generator",
"sprite-sheet",
"unicode",
"cjk",
"lazy-loading"
],
"author": "voderl <voderl@qq.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/voderl/bitmap-font-generator.git"
},
"homepage": "https://github.com/voderl/bitmap-font-generator",
"bugs": {
"url": "https://github.com/voderl/bitmap-font-generator/issues"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./runtime": {
"types": "./dist/runtime/index.d.ts",
"import": "./dist/runtime/index.js",
"require": "./dist/runtime/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"prepublishOnly": "npm run build",
"generate": "tsx test/generate.ts",
"web": "vite test/web",
"web:build": "vite build test/web",
"web:deploy": "npm run web:build && coscli sync ./test/web/dist/ cos://cn-blog/demo/bitmap-font-generator/ -r"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.53",
"opentype.js": "^1.3.4",
"sharp": "^0.34.5"
},
"peerDependencies": {
"pixi.js": ">=8.0.0"
},
"peerDependenciesMeta": {
"pixi.js": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/opentype.js": "^1.3.8",
"pixi.js": "^8.6.6",
"tsup": "^8.0.0",
"tsx": "^4.7.0",
"typescript": "^5.4.0",
"vite": "^5.2.0"
}
}