UI assets and code for Lighthouse.
npm install -g bower
bower install
npm install -g gulp
npm install
gulp build
default build (non-minified source) to../lighthouse/static
gulp watch
optional, rebuilds on source changesgulp clean
removes built assets from the server static dir (see Gulpfile.js)
Options:
--prod
build minfied source to../lighthouse/static
--gopath
build to$GOPATH/src/github.com/lighthouse/lighthouse/static/
These two flags can be used in conjunction with each other and with any command above. Note that using --gopath
overrides the default target directory. (i.e. source isn't moved to both locations)
npm install -g karma-cli
npm test
orkarma start
Happy coding!