Answer the question
In order to leave comments, you need to log in
How to host correctly on github?
Created a repository on github. I posted one of my libraries. New versions are added frequently.
I have several directories like: hello/v1.0/script.js, hello/v1.1/script.js
I decided to see how large companies place their libraries. For example jQuery. There are a bunch of directories: 'test,build,external.src' Then some more files, readme and more.
The question is why all this except license scripts and readme?
Answer the question
In order to leave comments, you need to log in
1. instead of /v1.0/ use git tags
2. test | tests | ... - usually this is a directory for autotests
3. build | release | ... are directories for compiled (release) files, the same jquery.min.js for example
4. external | Vendor | ... - directories with external dependencies of the current project
5. src | lib | ... - the code of the project itself
6. bin - directory with executable files for the project
7. var | tmp |
... - directory for temporary files
8. Makefile - configuration for the make console utility
9. bower.json - bower dependencies
10.
package.json - npm dependencies we take into account trivial ones for one and a half lines).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question