From 1bd1e6678f4087963842e9891069e2af563ccfd6 Mon Sep 17 00:00:00 2001 From: koyasaeki Date: Sat, 10 Feb 2024 14:30:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8D=E8=A6=81=E3=81=AA=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=20publish=20=E3=81=97?= =?UTF-8?q?=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmignore | 5 +++++ package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..6b02642 --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +.github +src +node_modules +tsconfig +package-lock.json diff --git a/package.json b/package.json index 5149008..a707a9b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "author": "koyasaeki", "main": "lib/index.js", "scripts": { - "compile": "tsc" + "compile": "tsc", + "prepublish": "npm run compile" }, "devDependencies": { "@types/eslint": "8.44.8",