wyvern-js icon indicating copy to clipboard operation
wyvern-js copied to clipboard

Move dependencies around, only distribute npm items in lib/.

Open SirensOfTitan opened this issue 5 years ago • 0 comments

Summary

Moves dependencies around to reduce full size of distribution of package, and only includes compiled files in npm package.

Not including dependency savings (which will be very large for this particular project as wyvern-js depends on typescript in dependencies, where it should be a devDependency only.

#Before: 
npm notice package size:  850.3 kB
npm notice unpacked size: 10.5 MB

#After
npm notice package size:  58.0 kB
npm notice unpacked size: 483.6 kB

Test Plan

  1. yarn link wyvern-js into wyvern-schemas
  2. Ensure wyvern-schemas builds yarn and tests yarn test with all greens.

SirensOfTitan avatar Jun 25 '19 21:06 SirensOfTitan