Add protractor, chai-as-promised dependencies

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add Protractor config, example e2e spec

This initial spec still relies on a running Rails server (with default
seed data).

User Story # 16494

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Document Protractor in RUNNING_TESTS

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add basic JSHint config

Tolerate subscript notation in addition to dot notation.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Move from grunt to gulp build system

Initially port only JSHint tasks.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Move angular app requires to openproject-app.js

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge branch 'fix/normalise-file-naming' into feature/16494-protractor-tests
Restructure Angular app into CommonJS modules

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Bundle CommonJS modules with Webpack

Minimal work necessary to make Sprockets and existing Karma tests work
with Webpack.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix stray global in Karma tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge branch 'dev' into feature/16494-protractor-tests

Signed-off-by: Alex Coles <alex@alexbcoles.com>

Conflicts:
	app/assets/javascripts/angular/work_packages/view_models/common-relations-handler.js
Add Rake tasks for Webpack compilation

Hook Webpack build into standard Sprockets precompilation.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Hook Webpack build into test/spec tasks

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Only hook into test/spec tasks if they are defined

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Configure Travis to do always npm install

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove duplicate bower steps in Travis config

As of 631147af, `npm install` should automatically invoke a
`bower install`.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Configure Travis to also cache npm dependencies

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Hook Webpack build into Cucumber tasks

Signed-off-by: Alex Coles <alex@alexbcoles.com>
First steps to bootstrap Angular app without Rails

Create basic express app that serves a static HTML page for
bootstrapping the Angular app and a minimal subset of API endpoints.

* Create Gulp tasks for starting express server, compiling Sass.

User Story # 16494

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove usages of Prototype-added Array methods

Replace with equivalent lodash methods.

Signed-off-by: Alex Coles <alex@alexbcoles.com>