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

fix: add files prop to package.json to reduce publish size #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tuananh
Copy link

@tuananh tuananh commented Jan 3, 2020

currently this package is published with lots of unneeded files. i also remove lock file because package kind of dont need that and you also use latest in package.json anyway.

current

npm notice === Tarball Details === 
npm notice name:          ahocorasick                             
npm notice version:       1.0.2                                   
npm notice package size:  15.6 kB                                 
npm notice unpacked size: 39.4 kB                                 
npm notice shasum:        61645106387822d70648dff2e7202e7d18c926ce
npm notice integrity:     sha512-Ljmszaby0hvqv[...]zKdQjvu8lxqCQ==
npm notice total files:   10                                      
npm notice 
+ [email protected]

after

npm notice === Tarball Details === 
npm notice name:          ahocorasick                             
npm notice version:       1.0.2                                   
npm notice package size:  2.3 kB                                  
npm notice unpacked size: 5.6 kB                                  
npm notice shasum:        53692126da0ad8758211189cd6f09467639660bc
npm notice integrity:     sha512-y+2Yr3P3B7ArG[...]Z3VOxiQ5r+K7w==
npm notice total files:   4                                       
npm notice 
+ [email protected]

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.

1 participant