Pages

Thursday, 27 March 2014

http://momentjs.com网站的源码

 

The website for momentjs

Installing

npm install
git submodule init
git submodule update --recursive
git submodule foreach npm install  (此行什么意思?)
npm install -g grunt-cli

Running locally

./runlocal.sh

Regenerating HTML and JS

grunt 
 
from  https://github.com/moment/momentjs.com