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.
- Host: GitHub
- URL: https://github.com/opensourcedoc/brunch-demo
- Owner: opensourcedoc
- Created: 2018-10-29T08:51:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-02T05:14:17.000Z (over 4 years ago)
- Last Synced: 2025-08-22T02:04:02.887Z (10 months ago)
- Topics: brunch, demo-app, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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