This is the code for cujojs.com, created from cujoJS/seed. When crammed, minified, and gzipped, the entire app -- including all Javascript and CSS, as well as much of the HTML -- is smaller than gzipped jQuery 1.9!
git clone https://github.com/cujojs/cujojs.github.com.git cujojs.github.com
cd cujojs.github.com
npm install
npm run-script cram
npm run-script minify
npm start
- Open http://localhost:8000/ in your browser
- Open your editor and start coding
The included server, serv is set to port 8000 by default. You can change it to 1337, for instance, with the following steps:
- Open "package.json".
- Find the section "scripts".
- Change the "start" item to use port 1337.
- It should look like this:
"start": "serv --port 1337"
.
- It should look like this:
serv has other options, as well.