diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..c87974c --- /dev/null +++ b/.npmignore @@ -0,0 +1,8 @@ +.github +dist +tests +src +tsconfig.json +jest.config.json +eslint.config.js +node_modules \ No newline at end of file diff --git a/package.json b/package.json index 978a099..8e77d16 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint src", "lint:fix": "eslint src --fix", "test": "jest", - "publish": "npm publish" + "publish": "npm run build && npm publish" }, "devDependencies": { "@eslint/js": "^9.8.0",