$ git clone https://github.com/CodelineRed/codepen-challenge.git [project-name]
$ cd [project-name]
$ rm -rf .git
$ npm i
$ gulp buildChange localServer in gulpfile-config.json to your local server.
Possible local servers (examples): http://imhh-cpc.localhost/ or http://localhost/imhh-cpc/public/.
| Description | |
|---|---|
| gulp | watch files and start BrowserSync |
| gulp build | executes following tasks: cleanUp, scss, js, scssLint, jsLint, img, font, svg |
| gulp cleanUp | clean up public folder |
| gulp font | copy font |
| gulp img | compress/copy img |
| gulp js | uglify/minify/concat js |
| gulp jsLint | checks js follows lint rules |
| gulp scss | compile/minify/concat scss |
| gulp scssLint | checks scss follows lint rules |
| gulp svg | compress/copy svg |
| gulp watch | watch scss, js, img, font and svg files |