Giter Club home page Giter Club logo

build-setup-static's Introduction

Information & instructions


Please do the following and keep everything below in mind when using these files, or "setup" if it can be called that way.

This setup uses Gulp for task management, with the aid of PostCSS + Sass for CSS-related tasks.

The Gulpfile has 9 tasks available:

  • webserver: starts a local webserver to serve the files
  • css: uses PostCSS + cssnext for prefixing and future CSS, and Sass as an aid. It also concatenates all CSS files, and minifies the result
  • vendor-css: this task is meant to grab all files inside the array of the task's src and concatenates them into vendor.css and minifies it
  • js: grabs all the files inside the scripts folder, concatenates them into all.js, and minifies it
  • vendor-js: works exactly like the vendor-css task but for vendor javascript
  • clean: this task deletes everything inside the dist filder
  • copy-images and copy: these tasks copy all images and HTML/PHP files into the dist folder
  • watch: this task watches for changes in the files in the src folder and updates them if necessary
  • build: runs all of the tasks once, except for watch and webserver

Please, keep in mind that this setup may not work for you, and it may as well be flawed. I currently use it for small, personal projects and will try to improve its performance and logic ASAP.

build-setup-static's People

Contributors

nicolasjengler avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.