Skip to content

Modernizr/modernizr-neue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5bf0912 · Nov 5, 2021
Aug 6, 2020
Apr 8, 2020
Apr 27, 2020
Oct 6, 2019
Apr 8, 2020
Mar 22, 2015
Mar 17, 2020
Mar 17, 2020
Sep 13, 2015
Jul 13, 2019
Nov 5, 2021
Jul 13, 2019
Jul 13, 2019
May 29, 2019
Nov 5, 2021
Nov 5, 2021

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