Example using bundlephobia's package-build-stats locally.

Each local package must have a package.json, and it must contain at minimum name, version, and main.