EoinDavey / tsPEG

PEG Parser Generator for TypeScript
Mozilla Public License 2.0
195 stars 7 forks source link

Superfluous files in the NPM package #14

Closed chocolateboy closed 4 years ago

chocolateboy commented 4 years ago

There are many extraneous files in the tsPEG tarball, including build files, tests, source code, and an assets directory containing several large images — none of which are needed by consumers of the package.

The code itself is < 100 KB, but the package size is ~ 2.8 MB. I suggest using the files array in your package.json to only include the files you intend to publish.

EoinDavey commented 4 years ago

Good point. Will fix