Giter Club home page Giter Club logo

gsq's Introduction

GSQ

GSQ is about simplicity, quick prototyping, creating something that can be easily shared while maintaining an agnostic stance on your favorite frameworks. Bundled in GSQ are a a few modern build tools and a couple npm scripts.

Included Build Tools

For JS: Babel and Browserify (with the help of babelify) compile the code

For CSS: PostCSS with a few plugins to let you write future spec today: [ "postcss-import", "autoprefixer", "postcss-nesting", "postcss-custom-media", "postcss-css-variables", "postcss-css-variables", "postcss-discard-comments", "postcss-reporter" ]

Getting Started

To install with git:

$ git clone https://github.com/tbremer/gsq.git
$ cd gsq
$ rm -r .git && rm .gitignore
$ mv lib/package-template.json ./package.json
$ npm install

To install with npm:

$ npm install --global gsq
$ cd path/to/project
$ gsq

Included npm scripts

  • test: run eslint on your source files.
  • build: run all of the following files
    • build:css: run postcss compiler
    • build:html: copy all src/**/*.html files into htdocs/
    • build:js: run the browserify compiler.
  • watch: run all of the following watches
    • watch:css: watch src/css/ for file changes, run npm build:css on file changes.
    • watch:html: watch src/**/*.html for file changes, run npm build:html on file changes.
    • watch:js: watch src/js/ for file changes, run npm build:js on file changes.
  • watch:start: run npm run watch as well as npm start. Watch all files and start browser-sync.
  • start: start browser-sync.

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.