Package
Package files allowlist
Limit included files and verify actual tarball contents.
Formal Syntax & Structure
react syntaxreact
"files": ["index.mjs", "index.d.ts"]Working Example
Example Snippetreact
tar -tzf package.tgzLimit included files and verify actual tarball contents.
"files": ["index.mjs", "index.d.ts"]tar -tzf package.tgz