JS - metamn/ssgg GitHub Wiki
Components JS
Gulp collects all .js files from components and creates a site.min.js or styleguide.min.js. These files later are moved into dist/assets/scripts.
Global JS
On the other hand common, shared, third-party scripts like jquery, picturefill etc. found in assets/scripts are all copied into dist/assets/scripts.