forked from alvarotrigo/fullPage.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Build tasks
Álvaro edited this page Jan 22, 2016
·
1 revision
This gives the ability to compile the SCSS file to CSS as well compress and generate source-maps for the CSS and JS files.
##Installing dependencies
You must have node
amd npm
installed in order to run the compile and compress tasks.
Terminal:
// (Optional) Install Gulp module globally
npm install gulp -g
// Install fullpage's build dependencies
npm install
##Task commands
Terminal:
// Only compile the SCSS
gulp scss
// Only compress the CSS
gulp css
// Only compress the JS
gulp js
// Runs the css and js tasks (not the scss)
gulp