GithubHelp home page GithubHelp logo

aminulbd / frontenda Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 195 KB

Frontend development automation and task management

JavaScript 76.63% CSS 7.43% HTML 15.76% PHP 0.18%
front-end frontend-framework front-end-development gulp-tasks gulp-starter

frontenda's Introduction

Frontenda - Frontend development automation and task management

This project inspired heavy inspired by Gulp Starter.

This tool is created for developing the site template for marketplace like: ThemeForest. I do not want to start everything by scratch and that's why this tool is created to save time and learning a lot.

Features

Frontenda is came with many exciting and existing features in the Gulp Stater and few more to kick start.

Here is few:

  • Sass
    • SCSS/SASS
    • AutoPrefixer
    • Minify with CSSNano
  • JS
    • Modular JavaScript and compile in single (Check assets/js/config.json)
    • Minify for production
  • HTML
    • Using Nunjucks templating engine
    • HTML minify for production
    • Combine and replace assets with gulp-useref
    • Replace minified project assets (Coming soon)
  • SVG
    • SVG Icon Sprite
    • SVG to icon font
  • Bower
    • Bower components as dependencies
    • Bower with bower normalize to organize

Get start within a minute

Before you go, Please install node 6.9.x, npm 4.4.x or yarn latest version and gulp 3.9.x and bower 1.8.x as global to continue.

Just clone this is repo to your project directory then run yarn install or npm install. After the install success just run gulp or npm start or yarn start.

For production build, You need to run gulp production. That's it.

Directory Structure

├── app
│   ├── assets
│   │   ├── fonts
│   │   ├── icons <- Your SVG icons to generate svg sprite and icon fonts. SVG icon size will be 500x500px
│   │   │   ├── facebook.svg
│   │   │   ├── twitter.svg
│   │   │   ├── ...
│   │   ├── img <- Your project images like logo, custom sprite or anything ship with the project.
│   │   │   ├── logo.png
│   │   │   ├── logo-contrast.png
│   │   │   ├── ...
│   │   ├── js <- Store your JavaScript file to concatenated as single file app.js
│   │   │   ├── config.json <- Mange order and watchable files
│   │   │   ├── example.js
│   │   │   └── example2.js
│   │   └── sass  <- The Sass folder to store your Sass or SCSS file to compile.
│   │       ├── app.sass 
│   │       ├── base
│   │       │   └── _bootstrap.sass
│   │       └── generated
│   │           └── _app-icons.scss <- This file is automatic generated by gulp task to make work iconfont.
│   ├── html <- Store HTML files as nunjucks template engine format to compile as html.
│   │   ├── data
│   │   │   └── app.json <- The json file to pass to the nunjucks compiler
│   │   ├── index.html
│   │   ├── layouts
│   │   │   └── app.html <- The base layout file to extend.
│   │   ├── macros
│   │   │   └── helpers.html <- A example macros file is included to compile.
│   │   ├── sections
│   │   │   ├── content.html
│   │   └── shared
│   │       ├── app-icons.html
│   │       ├── social-icons-font.html
│   │       └── social-icons-svg.html
│   └── media <- Store your third party assets like images, video, scripts or php files.
│       ├── php
│       │   └── example.php <- Just for example not executed by NodeJS :D
│       └── static
│           ├── audios
│           ├── images
│           ├── site-icons
│           │   ├── favicon.icon
│           │   ├── favicon.png
│           │   ├── ...
│           └── videos
├── bower.json <- You know this file is for bower dependency. By default jQuery, Bootstrap and Font Awesome is installed.
├── gulpfile.js <- All magics are happen from this folder.
│   ├── config.json <- Task management and configs
│   ├── index.js
│   ├── lib
│   │   ├── banner.js
│   │   ├── getEnabledTasks.js
│   │   ├── handleErrors.js
│   │   └── pathToUrl.js
│   └── tasks
│       ├── bower.js
│       ├── ....
│       └── ....
├── public <- The output folder
│   ├── assets <- Compiled version of js and css. Also, Images and fonts are included from app/assets/ directory.
│   ├── dependencies <- All dependencies from the bower components. All are organized as expected. 
│   ├── static <- From the media directory.
│   │   ├── banner.js
│   │   ├── getEnabledTasks.js
│   │   ├── handleErrors.js
│   │   └── pathToUrl.js
│   ├── index.html
│   └── ....
├── package.json
└── yarn.lock

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.