From d6344dde160949a5f277f62621469c3c6f51f86e Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 26 Mar 2024 09:57:38 +0800 Subject: [PATCH] init --- .gitignore | 11 +++++++++++ package.json | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .gitignore create mode 100644 package.json 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" + } +}