generate iconFont
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

95 lines
2.2 KiB

{
"name": "svgtofont",
"version": "3.22.0",
"description": "Converts SVG to TTF/EOT/WOFF/WOFF2/SVG format fonts.",
"homepage": "https://jaywcjlove.github.io/svgtofont/",
"main": "lib/index.js",
"bin": {
"svgtofont": "lib/cli.js"
},
"scripts": {
"prepare": "npm run build",
"start": "node lib/index.js",
"watch": "tsbb watch --disable-babel -f src/index.ts -f src/cli.ts",
"build": "tsbb build --disable-babel -f src/index.ts -f src/cli.ts",
"example": "node test/example/index.js",
"example:templates": "node test/templates/index.js",
"pretest": "npm run example && npm run example:templates",
"checked": "tsc --noEmit",
"test": "tsbb test",
"coverage": "tsbb test --coverage"
},
"author": "Kenny <wowohoo@qq.com>",
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/svgtofont.git"
},
"svgtofont": {
"css": {
"fontSize": "12px"
}
},
"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": "^12.13.0 || ^14.15.0 || >=15.0.0"
},
"jest": {
"testMatch": [
"<rootDir>/test/*.test.{js,ts}"
]
},
"dependencies": {
"@types/cheerio": "~0.22.31",
"@types/ejs": "~3.1.0",
"@types/fs-extra": "~9.0.13",
"@types/svg2ttf": "~5.0.1",
"@types/svgicons2svgfont": "~10.0.1",
"@types/ttf2eot": "~2.0.0",
"@types/ttf2woff": "~2.0.2",
"@types/ttf2woff2": "~2.0.0",
"cheerio": "~1.0.0-rc.12",
"colors-cli": "~1.0.28",
"copy-template-dir": "~1.4.0",
"del": "~6.1.0",
"ejs": "~3.1.6",
"fs-extra": "~10.1.0",
"image2uri": "~1.0.5",
"move-file": "~2.1.0",
"svg2ttf": "~6.0.3",
"svgicons2svgfont": "~12.0.0",
"svgo": "~3.0.0",
"ttf2eot": "~3.1.0",
"ttf2woff": "~3.0.0",
"ttf2woff2": "~4.0.4",
"yaml": "^2.1.3",
"yargs": "~17.6.0"
},
"devDependencies": {
"@types/csso": "^5.0.0",
"tsbb": "^3.7.8"
}
}