4 Commits

Author SHA1 Message Date
Tim Buckley
3df8815852 Use Chrome for unit tests and update dependencies
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
2016-03-22 17:59:55 -06:00
Tim Buckley
e631b8c62c Fix sourcemap generation
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
2016-03-16 15:15:47 -06:00
Tim Buckley
5f11d5e091 Removed unused node dependencies.
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
2015-11-24 13:48:47 -07:00
Tim Buckley
0034283601 Add initial Angular boilerplate files.
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate`
to start work on Angular rewrite of the frontend.

Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
2015-09-25 16:26:44 -06:00