Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 1.62 KB

README.md

File metadata and controls

75 lines (51 loc) · 1.62 KB

Front-end Week 2k18

Access the website

This project uses:

Getting Started

Installation

First of all, install the dependencies to run this boilerplate.

# Clone this repository
git clone [email protected]:frontendweek/frontendweek-website.git
cd frontendweek-website.git

# install dependencies
npm install

After that, you should be good to go :)

Folders/Files Structure

├── assets/
│   ├── css/
│   │   └── *.sass
│   ├── img/
│   ├── js/
│   │   ├── modules/
│   │   └── index.min.js
├── includes/
│   └── *.pug
├── Gruntfile.js
├── index.pug
├── package.json
├── README.md

These structure will change during the project.

Tasks

  • grunt concat: concat modules/*.js into index.min.js

  • grunt uglify: uglifies index.min.js into itself

  • grunt sass: build [everything].sass into style.css

  • grunt autoprefixer: adds vendor prefixes to style.css

  • grunt imagemin: optimize *.jpg,*.png,*.svg inside assets/img

  • grunt pug: generates index.html from index.pug + includes/*.pug

  • grunt compile: run concat, uglify, sass, autoprefixer, imagemin, pug; does not start server

  • grunt: run watch [tasks: pug, sass, concat] and start BrowserSync local server

License

MIT License