pete-otaqui / flexboxer

Visual Flexbox Authoring Tool

Home Page:http://flexboxer.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlexBoxer

A flexbox layout builder. Flexboxer is a visual tool for creating flexbox css rules.

Installing

You need a POSIX environment (Linux / OS X), NodeJS, NPM and JSPM installed. You can get the latter by running:

npm install -g jspm

Checkout the project, and run:

npm install

jspm install

Building

This project uses simple npm commands for building, rather than a dedicated tool like gulp or grunt. The following scripts are available:

  • npm run build - build the project into the dist/ directory.
  • npm run serve - serve the project from src/.
  • npm run serve-dist - serve the projet from dist/

The npm run build command is actually running all these, in the following order:

  • npm run bundle - create an SFX bundle with JSPM, in dist/
  • npm run uglify - compress dist/build.js into dist/build.min.js
  • npm run html-dist - copy index.html from src/ to dist and replace the script tags for release
  • npm run styles - copy the stylesheet from src/styles to dist/styles

TODO, v1.1

  • Improve defaults for new layout items:
  • random colour bg;
  • magic incrementing selector
  • Hover highlighting in Tree / Visualiser.
  • Export to JSBin / JSFiddle / etc.
  • Tests >:-S

TODO, v2.0

  • Drag and drop tree?
  • Better input controls, with dev-tools like autopopulation and keyboard shortcuts
  • Internal save (as opposed to only exporting to third parties)
  • Output as less / scss as well as CSS

About

Visual Flexbox Authoring Tool

http://flexboxer.com/


Languages

Language:JavaScript 54.3%Language:CSS 44.3%Language:HTML 1.4%