Coder Social home page Coder Social logo

daniilsydorenko / flex-mix Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 531 KB

Boilerplate based on Flex-Grid and SASS. Own solution for faster frontend development

Home Page: http://daniilsydorenko.github.io/flex-mix/

License: MIT License

JavaScript 92.60% CSS 6.30% HTML 1.10%
flexgrid flex-mix gulp-tasks sass sass-boilerplate boilerplate-template boilerplate front-end frontend-app javascript

flex-mix's Introduction

Flex-Mix

License: MIT

Introduction

Welcome to Flex-Mix.

Flex-Mix is Front-end boilerplate based on Flex-Grid(http://flexboxgrid.com/) and SASS-structure boilerplate(https://github.com/HugoGiraudel/sass-boilerplate). This is my own solution for faster frontend development. I am trying to update my code as fast as front-end development growing.

Installation

git clone https://github.com/DaniilSydorenko/flex-mix.git

NPM

npm install --save-dev

Application structure

flex-mix/                           =>      Base catalog              
    assets/                         =>      Libraries, custom scripts and styles, media
        img/                        =>      Images
        js/                         =>      Scripts
            main.js                 =>      Initial file for custom scripts    
        libs/                       =>      Scripts libraries
            jquery-2.2.3.js         =>      JQuery
            modernizr-custom.js     =>      Modernizr
    dist/                           =>      Production build
        css/                        =>      Concatenated and minified styles
        js/                         =>      Concatenated and minified scripts
        html/                       =>      Concatenated and minified HTML
    src/                            =>      Application files
        scss/                       =>      SASS structure
            abstracts/              =>      Reusable code(mixins, variables)
            base/                   =>      Based styles(typography, helper classes)
            components/             =>      Application view components(buttons, breadcrumbs, etc.) 
            layout/                 =>      Reusable part of view(header, footer)
            pages/                  =>      Pages style rules
            themes/                 =>      Themes style rules
            vendor/                 =>      Outer libs
            main.scss               =>      Main file include all sass files(by @import)
    .gitignore                      =>      Gitignore file
    bower.json                      =>      Manifest file for Bower
    CHANGELOG.md                    =>      Log of application versions changes
    gulpfile.js                     =>      Gulp file
    index.html                      =>      Index file
    LICENSE.md                      =>      MIT license
    package.json                    =>      Manifest file for NPM
    README.md                       =>      Readme file

Run

After instalation, open index.html file.

Gulp tasks

update

Looking for outdated packages

clean

Remove all files from dist folder before building

clean-js

Remove all .js files from dist folder before building

clean-css

Remove all .css files from dist folder before building

concat-minify-js

Concatenate and minify all .js files

concat-minify-css

Concatenate and minify all .css files

concat-minify-html

Concatenate and minify all .html files (for production only)

watch

Watching for changes and rebuilding scripts and styles

default

Default task. Clean dist folder, run build and watcher

License

The MIT License (MIT)

Copyright (c) 2016 Daniil Sydorenko

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

flex-mix's People

Contributors

daniilsydorenko avatar katerynasukharevska avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.