LP#1739803 Angular 1.6 + dependency updates
authorBill Erickson <berickxx@gmail.com>
Fri, 2 Jun 2017 21:01:32 +0000 (17:01 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Dec 2017 17:20:50 +0000 (12:20 -0500)
commitecfa170127c09ee6598381bd424998a01f74365b
tree5afc5a1c455b089e44021876669daee692381450
parentfe30a5ea50a78b17e46bbab632e4fd11ca9abf85
LP#1739803 Angular 1.6 + dependency updates

Rebuild package.json starting with Angular 1.6.  This resulted in a
number of dependency updates and small changes required to keep the
dependencies happy.

* Teach print.js to use promise-style $http responses, instead of
  .success() and .error()
* Remove unused '$http' dependency in hatch.js
* Fix egDate custom test matcher to work with newer version of
  karma-jasmine.
* Build IDL for test scripts using Grunt/exec "cwd" since Grunt fails to
  understand "&&" commands, like 'cd foo && bar'.
* For correctness, move dev-only depenencies into the package.json
  devDependencies section.

See also
https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/package.json
Open-ILS/web/js/ui/default/staff/services/hatch.js
Open-ILS/web/js/ui/default/staff/services/print.js
Open-ILS/web/js/ui/default/staff/test/unit/egDate.js