Who is who - rosalsm/TIY-GitHub GitHub Wiki

Gulp

Install gulp globally

npm install -g gulp

Helps you with the process of cleaning dist and creating it again for deploy

npm install --save-dev gulp
npm run gulp

In .js

var gulp = require('gulp');

gulp.task('move-js', function(){

}

after pre determine what to do we go to terminal gulp move-js

gulp --tasks tells us what we have pre ready to do

After prefix all the work to do, we run gulp

Wiredep

Automatically wires up your Bower components to your HTML/(S)CSS based on dependencies (i.e. it automatically includes them in the correct order!) It needs bower install.

To make it work:

  1. npm install --save-dev wiredep

  2. index.html :css will be in the <head> and :js will be at the end of the <body>

<!--bower:js or :css -->
<!--endbower -->

name.scss //bower:scss

  1. npm run wiredep (install wiredep local better than global)

  2. after installing npm, bower and whatever you want to connect (ex font-awesome)

wiredep --verbose --src src/scss/main.scss

Modernizr

Modernizr is a JavaScript library that detects which HTML5 and CSS3 features your visitor's browser supports. In detecting feature support, it allows developers to test for some of the new technologies and then provide fallbacks for browsers that do not support them.

Normalize.css

Normalize.css is a small CSS file that provides better cross-browser consistency in the default styling of HTML elements. It's a modern, HTML5-ready, alternative to the traditional CSS reset.

⚠️ **GitHub.com Fallback** ⚠️