commit 7aaef1e0373216017282a1ccd5cb294b39e4c58f Author: yutent Date: Wed Jan 31 18:38:42 2024 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..838959c --- /dev/null +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..dcf7290 --- /dev/null +++ b/package.json @@ -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" + } +} diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..ea35255 --- /dev/null +++ b/src/index.js @@ -0,0 +1,5 @@ +/** + * {} + * @author yutent + * @date 2024/01/31 18:38:35 + */