Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voidberg/presentation-rp-hc
https://github.com/voidberg/presentation-rp-hc
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/voidberg/presentation-rp-hc
- Owner: voidberg
- Created: 2017-11-14T17:41:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T17:09:56.000Z (9 months ago)
- Last Synced: 2024-04-16T22:21:03.332Z (9 months ago)
- Language: JavaScript
- Size: 696 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Brunch + Babel/ES6
This is a modern JS skeleton for [Brunch](http://brunch.io).
## Installation
Clone this repo manually or use `brunch new dir -s es6`
## 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)## ES-next
To use proposed JS features not included into ES6, do this:
* `npm install --save-dev babel-preset-stage-0`
* in `brunch-config.js`, add the preset: `presets: ['latest', 'stage-0']`