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

Slim down NPM package #2062

Merged
merged 1 commit into from
Oct 18, 2017
Merged

Slim down NPM package #2062

merged 1 commit into from
Oct 18, 2017

Conversation

avaly
Copy link
Contributor

@avaly avaly commented Oct 15, 2017

This PR slims down the NPM package to the bare required files. See http://blog.npmjs.org/post/165769683050/publishing-what-you-mean-to-publish for reasoning.

$ npm pack
react-select-1.0.0-rc.10.tgz

$ tar tvf react-select-1.0.0-rc.10.tgz 
-rw-rw-r-- 1000/1000      3053 2017-10-15 12:47 package/package.json
-rw-rw-r-- 1000/1000     22640 2017-10-15 12:43 package/README.md
-rw-rw-r-- 1000/1000      1077 2017-10-15 12:43 package/LICENSE
-rw-rw-r-- 1000/1000      1583 2017-10-15 12:43 package/CHANGES.md
-rw-rw-r-- 1000/1000     37589 2017-10-15 12:43 package/HISTORY.md
-rw-rw-r-- 1000/1000     83191 2017-10-15 12:45 package/dist/react-select.es.js
-rw-rw-r-- 1000/1000     84601 2017-10-15 12:45 package/dist/react-select.js
-rw-rw-r-- 1000/1000     41927 2017-10-15 12:45 package/dist/react-select.min.js
-rw-rw-r-- 1000/1000      9202 2017-10-15 12:45 package/dist/react-select.css
-rw-rw-r-- 1000/1000      7322 2017-10-15 12:45 package/dist/react-select.min.css
-rw-rw-r-- 1000/1000      8776 2017-10-15 12:45 package/lib/Async.js
-rw-rw-r-- 1000/1000      3845 2017-10-15 12:45 package/lib/AsyncCreatable.js
-rw-rw-r-- 1000/1000     12290 2017-10-15 12:45 package/lib/Creatable.js
-rw-rw-r-- 1000/1000      6031 2017-10-15 12:45 package/lib/Option.js
-rw-rw-r-- 1000/1000     48887 2017-10-15 12:45 package/lib/Select.js
-rw-rw-r-- 1000/1000      5490 2017-10-15 12:45 package/lib/Value.js
-rw-rw-r-- 1000/1000      1114 2017-10-15 12:45 package/lib/index.js
-rw-rw-r-- 1000/1000       636 2017-10-15 12:45 package/lib/utils/defaultArrowRenderer.js
-rw-rw-r-- 1000/1000       449 2017-10-15 12:45 package/lib/utils/defaultClearRenderer.js
-rw-rw-r-- 1000/1000      1798 2017-10-15 12:45 package/lib/utils/defaultFilterOptions.js
-rw-rw-r-- 1000/1000      1695 2017-10-15 12:45 package/lib/utils/defaultMenuRenderer.js
-rw-rw-r-- 1000/1000      8459 2017-10-15 12:45 package/lib/utils/stripDiacritics.js

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.344% when pulling 78f269a on avaly:feature/slim-npm-package into 7523c20 on JedWatson:master.

@JedWatson
Copy link
Owner

Thanks @avaly

@JedWatson JedWatson merged commit fa4313c into JedWatson:master Oct 18, 2017
@avaly avaly deleted the feature/slim-npm-package branch October 18, 2017 08:04
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.

3 participants