roblarsen / modernizr-neue

Neue is the new new

Home Page:https://modernizr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The new modernizr.com

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

About

Neue is the new new

https://modernizr.com

License:MIT License


Languages

Language:JavaScript 69.4%Language:CSS 19.3%Language:HTML 11.3%