diff --git a/.npmpack b/.npmpack deleted file mode 100644 index aaf092c..0000000 --- a/.npmpack +++ /dev/null @@ -1,6 +0,0 @@ -* - -!LICENSE -!README.md -!lib/**/* -!package.json diff --git a/package.json b/package.json index b67d21e..c222466 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,11 @@ } }, "type": "module", + "files": [ + "lib" + ], "scripts": { - "prepack": "pnpm run build && cp .gitignore .npmignore && cat .npmpack >> .npmignore", - "postpack": "rm .npmignore", + "prepack": "pnpm run build", "dev": "pnpm run build --watch", "build": "tsup", "test": "jest",