This repo can be used as starting point for new front-end apps that employ Origami components.
The included build system is loosely based on Yeoman's original webapp generator and Google's Web Starter Kit.
serve
andbuild
tasks (similar to Yeoman's)- BrowserSync
- Bower (configured to use Origami)
- Browserify
- Ruby Sass
- JSHint and SCSS-Lint
Watch-driven rebuilds (during serve
) are incremental (i.e. fast) and include sourcemaps.
-
gulp serve
— runs a development server, opens it in your browser, and incrementally rebuilds and reloads your browser whenever source files change -
gulp build
— builds a compressed, deployable app indist
Bonus command: npm run serve
is another way to run gulp serve
, with the difference that it will automatically restart whenever you edit the gulpfile.
These Origami components are included as standard:
Other components can be added easily – see recipes.