commit d6344dde160949a5f277f62621469c3c6f51f86e Author: yutent Date: Tue Mar 26 09:57:38 2024 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0774656 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ + +dist +node_modules + +._* + +.Spotlight-V100 +.Trashes +.DS_Store +.AppleDouble +.LSOverride diff --git a/package.json b/package.json new file mode 100644 index 0000000..16042c0 --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "@bytedo/svg", + "type": "module", + "version": "0.0.1", + "description": "JavaScript Vector Library", + "main": "dist/index.js", + "repository": { + "type": "git", + "url": "git@git.wkit.fun:bytedo/svg.git" + }, + "scripts": { + "start": "esbuild src/index.js --watch --bundle --format=esm --target=esnext --outfile=dist/index.js", + "pack": "esbuild src/index.js --minify --bundle --format=esm --target=esnext --outfile=dist/index.js" + }, + "author": "Yutent", + "license": "MIT", + "devDependencies": { + "esbuild": "^0.20.1" + } +}