master
yutent 2024-01-31 18:38:42 +08:00
commit 7aaef1e037
3 changed files with 44 additions and 0 deletions

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
*.min.js
.httpserver
.vscode
node_modules/
dist/
*.sublime-project
*.sublime-workspace
package-lock.json
._*
.Spotlight-V100
.Trashes
.DS_Store
.AppleDouble
.LSOverride

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "@bytedo/font-generator",
"type": "module",
"version": "0.3.1",
"description": "字体生成器, 可将单个或多个svg合成字体文件",
"repository": {
"type": "git",
"url": "git+https://git.wkit.fun/bytedo/font-generator.git"
},
"main": "dist/index.js",
"files": [
"dist/*"
],
"scripts": {
"build": "esbuild src/index.js --minify --bundle --format=esm --target=esnext --outfile=dist/index.js"
},
"dependencies": {
"svg2ttf": "^6.0.3",
"ttf2svg": "^1.2.0",
"ttf2woff2": "^5.0.0"
}
}

5
src/index.js Normal file
View File

@ -0,0 +1,5 @@
/**
* {}
* @author yutent<yutent.io@gmail.com>
* @date 2024/01/31 18:38:35
*/