Skip to content

Modernizr/modernizr-neue

Repository files navigation

The new modernizr.com

Build Status

This is now live at modernizr.com

setup

npm install
bower install

development

npm run develop

this will start a hapi server on port 3000 that will recompile assets on change via nodemon

deployment

npm run deploy

this will generate a compiled and compressed static version of the website in the /dist directory

production

Since npm run deploy generates a static site, any webserver will work. Just point it at the new /dist folder as a root. However, if you use the included Hapi server to serve the assets you get extras, including

to get all that run

NODE_ENV=production node ./server

from the root of this project

you can also set NODE_PORT to override the default port of 3000