gsq
v1.2.0
Published
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.
Readme
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 installTo install with npm:
$ npm install --global gsq
$ cd path/to/project
$ gsqIncluded npm scripts
test: run eslint on your source files.build: run all of the following filesbuild:css: run postcss compilerbuild:html: copy allsrc/**/*.htmlfiles intohtdocs/build:js: run thebrowserifycompiler.
watch: run all of the following watcheswatch:css: watchsrc/css/for file changes, runnpm build:csson file changes.watch:html: watchsrc/**/*.htmlfor file changes, runnpm build:htmlon file changes.watch:js: watchsrc/js/for file changes, runnpm build:json file changes.
watch:start: runnpm run watchas well asnpm start. Watch all files and start browser-sync.start: start browser-sync.
