fix(package): limit npm tarball to runtime files

Add a files allowlist. The package no longer includes compiled test files or .env.example.
This commit is contained in:
2026-10-03 12:27:46 +01:00
parent 45645c8877
commit 972efb0380
+6
View File
@@ -4,6 +4,12 @@
"description": "MCP server for Cloudflare Browser Rendering Crawl API",
"author": "Lukasz Raczylo <[email protected]> (https://raczylo.com)",
"main": "dist/index.js",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"!dist/**/*.test.*",
"!dist/**/integration.*"
],
"type": "module",
"scripts": {
"build": "tsc",