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",