This adds karma-chrome-launcher and uses it instead of phantomjs for
running all unit tests. Currently, the 'phantomjs-prebuilt' package
downloads binaries from bitbucket, and gate job have been failing due
to rate limiting from their servers. Since Chrome is already being
installed from local mirrors as part of the 'npm run' job template,
this should avoid further problems.
Additionally, this bumps all npm dependencies to their latest
versions and removes several (such as babel) that are unused. Some
minor tweaks to gulp tasks were needed to account for changes, but
these are fairly minimal.
Change-Id: Ia003280ab30f2912935140ecd4734ae8a08dd44d
This fixes slightly broken sourcemap generation, and fully enables
sourcemaps for all builds. Previously, browserify would generate
its own sourcemaps and embed them directly in 'main.js' which often
confused Chrome. Additionally, partial sourcemaps were written to
'main.js.map' during production builds, but these did not include
browserify's inline sourcemaps which mapped library sources, causing
even more confusion for Chrome. This standardizes sourcemaps so they
are all written to a single output file, and generated regardless of
build type.
Change-Id: I1e676cae27082cb81d808d78fd600f09d6449498
This removes `gulp-imagemin` and the image processing gulp task,
as well as `debowerify`, significantly reducing required
`npm install` time for a clean install.
Change-Id: I48e035c96cd616715da3b5c75b66b8d8a7616263
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate`
to start work on Angular rewrite of the frontend.
Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6