This project uses:
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 :)
├── 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.
-
grunt concat
: concatmodules/*.js
intoindex.min.js
-
grunt uglify
: uglifiesindex.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
insideassets/img
-
grunt pug
: generatesindex.html
fromindex.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
MIT License