-
-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
114 lines (114 loc) · 2.6 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "svgtofont",
"version": "6.1.1",
"description": "Converts SVG to TTF/EOT/WOFF/WOFF2/SVG format fonts.",
"homepage": "https://jaywcjlove.github.io/svgtofont/",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"exports": {
".": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./lib/utils": {
"default": "./lib/utils.js",
"types": "./lib/utils.d.ts"
}
},
"type": "module",
"bin": {
"svgtofont": "lib/cli.js"
},
"scripts": {
"prepare": "npm run build",
"start": "node lib/index.js",
"watch": "tsbb watch src/*.ts",
"build": "tsbb build src/*.ts",
"example": "node examples/example/index.mjs",
"example:cli": "node lib/cli.js --sources ./examples/example/svg --output ./dist --fontName uiw-font",
"example:simple": "node examples/example/simple.mjs",
"example:templates": "node examples/templates/index.mjs",
"pretest": "npm run example && npm run example:simple && npm run example:templates",
"checked": "tsc --noEmit",
"test": "tsbb test",
"coverage": "tsbb test --coverage"
},
"author": "Kenny <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/svgtofont.git"
},
"svgtofont": {
"css": {
"fontSize": false
}
},
"keywords": [
"webfont",
"font",
"icon",
"iconfont",
"font-face",
"compress",
"minify",
"font-cli",
"ttf",
"woff",
"eot",
"svg",
"ttf2eot",
"ttf2woff",
"ttf2svg",
"svg2ttf",
"css",
"base64"
],
"license": "MIT",
"files": [
"lib",
"src"
],
"engines": {
"node": ">=18.0.0"
},
"jest": {
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
},
"dependencies": {
"auto-config-loader": "^1.7.4",
"cheerio": "~1.0.0-rc.12",
"colors-cli": "~1.0.28",
"fs-extra": "~11.2.0",
"image2uri": "^2.1.2",
"nunjucks": "^3.2.4",
"svg2ttf": "~6.0.3",
"svgicons2svgfont": "~15.0.0",
"svgo": "~3.3.0",
"ttf2eot": "~3.1.0",
"ttf2woff": "~3.0.0",
"ttf2woff2": "~6.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/nunjucks": "^3.2.6",
"@types/svg2ttf": "~5.0.1",
"@types/ttf2eot": "~2.0.0",
"@types/ttf2woff": "~2.0.2",
"tsbb": "^4.4.0"
},
"peerDependencies": {
"@types/svg2ttf": "~5.0.1"
},
"peerDependenciesMeta": {
"@types/svg2ttf": {
"optional": true
}
}
}