wyvern-js
wyvern-js copied to clipboard
Move dependencies around, only distribute npm items in lib/.
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
-
yarn link
wyvern-js into wyvern-schemas - Ensure
wyvern-schemas
buildsyarn
and testsyarn test
with all greens.