Giter VIP home page Giter VIP logo

grunt-boilerplate's Introduction

Grunt Project Boilerplate

This project uses:

Getting Started

Installation

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

# Clone this repository
git clone [email protected]:ricardogouveia3/grunt-boilerplate.git
cd grunt-boilerplate

# install dependencies
npm install

After that, you should be good to go :)

Folders/Files Structure

├── assets/
│   ├── sass/
│   │   ├── partials/
│   │   │   └── _*.sass
│   │   └── style.sass
│   │   └── variables.sass
│   └── img/
│       └── *.{jpg||png||svg}
├── build/
│   ├── assets/
│   │   ├── css/
│   │   │   └── style.min.css
│   │   └── img/
│   │       └── *.min.{jpg||png||svg}
│   ├── js/
│   │   └── index.min.js
│   ├── *.html
│   └── favicon.ico
├── js/
│   └── *.js
├── pug/
│   └── *.pug
├── .editorconfig
├── .gitignore
├── Gruntfile.js
├── package.json
└── README.md

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 © Ricardo Álvaro Gouveia Gomes Filho

grunt-boilerplate's People

Contributors

ricardogouveia3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.