perf: ignore test files in published package (reduce package size)

This commit is contained in:
Théo LUDWIG 2023-07-02 18:12:07 +02:00
parent 487965b9aa
commit d1145e5f63
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -8,7 +8,9 @@
"main": "build/index.js", "main": "build/index.js",
"types": "build/index.d.ts", "types": "build/index.d.ts",
"files": [ "files": [
"build" "build",
"!**/*.test.js",
"!**/*.test.d.ts"
], ],
"engines": { "engines": {
"node": ">=16.0.0", "node": ">=16.0.0",