An open API service indexing awesome lists of open source software.

https://github.com/opensourcedoc/brunch-demo

A tiny project to demo how to use Brunch to compile front-end code.
https://github.com/opensourcedoc/brunch-demo

brunch demo-app javascript nodejs

Last synced: 2 months ago
JSON representation

A tiny project to demo how to use Brunch to compile front-end code.

Awesome Lists containing this project

README

          

# brunch demo

This tiny project demos how to use [Brunch](http://brunch.io) to compile front-end code.

## Getting started

* Install (if you don't have them):
* [Node.js](http://nodejs.org): `brew install node` on OS X
* [Brunch](http://brunch.io): `npm install -g brunch`
* Brunch plugins and app dependencies: `npm install`
* Run:
* `npm start` — watches the project with continuous rebuild. This will also launch HTTP server with [pushState](https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history).
* `npm run build` — builds minified project for production
* Learn:
* `public/` dir is fully auto-generated and served by HTTP server. Write your code in `app/` dir.
* Place static files you want to be copied from `app/assets/` to `public/`.
* [Brunch site](http://brunch.io), [Getting started guide](https://github.com/brunch/brunch-guide#readme)

## Copyright

Copyright (c) 2018 Michelle Chen. Licensed under Apache 2.0