Skip to content
Ben's personal website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
app
public
.DS_Store
.gitignore
Makefile
README.md
brunch-config.js
package-lock.json
package.json

README.md

benstanfield.io

This site is built with Brunch.js, Pug, SCSS, and JQuery. Follow these steps to get it running on your own computer:

Installation

Clone this repo

Getting started

  • Install (if you don't have them):

    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: make
  • Run:

    • make server — watches the project with continuous rebuild. This will also launch HTTP server with pushState.
    • 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, Getting started guide

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']
You can’t perform that action at this time.