Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the size of the npm package #334

Merged
merged 6 commits into from Mar 15, 2019
Merged

Reduce the size of the npm package #334

merged 6 commits into from Mar 15, 2019

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Mar 15, 2019

Before this PR:

npm notice package size:  370.8 kB
npm notice unpacked size: 3.3 MB
npm notice total files:   352

After this PR:

npm notice package size:  164.5 kB
npm notice unpacked size: 889.1 kB
npm notice total files:   317

Measured by running npm pack --dry-run

lib/check/arbitrary/TupleArbitrary.generated.js:
33.4 Ko -> 344 o

lib/esm/check/arbitrary/TupleArbitrary.generated.js:
32.2 Ko -> 269 o

lib/ts3.2/check/arbitrary/TupleArbitrary.generated.d.ts:
45.8 Ko -> 20.8 Ko

lib/types/check/arbitrary/TupleArbitrary.generated.d.ts:
45.8 Ko -> 20.8 Ko

lib/bundle.js:
149 Ko -> 134 Ko
lib/check/property/AsyncProperty.generated.js:
7.04 Ko -> 1.33 Ko

lib/check/property/Property.generated.js:
6.80 Ko -> 1.29 Ko

lib/bundle.js:
134 Ko -> 128 Ko
lib/types/check/property/AsyncProperty.generated.d.ts:
43.9 Ko -> 32.1 Ko
@dubzzz dubzzz merged commit af659ee into master Mar 15, 2019
@dubzzz dubzzz deleted the smaller-package branch March 15, 2019 23:17
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 96.835% when pulling cbdc3d9 on smaller-package into 721d6a6 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants