From f6d24f5cb31d32fa03721f19a0efac74a8079512 Mon Sep 17 00:00:00 2001 From: vinicius Date: Thu, 8 Aug 2024 18:15:53 -0300 Subject: [PATCH] prepare for npm --- .npmignore | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .npmignore 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",