Unverified Commit 6cc127f1 authored by Robert Knight's avatar Robert Knight Committed by Sean Hammond

Remove angular-jwt and angular-resource

These dependencies are no longer used following the removal of the
legacy cookie auth and JWT-based API tokens.
parent 39598620
......@@ -8,9 +8,7 @@
"repository": "hypothesis/client",
"devDependencies": {
"angular": "~1.5.6",
"angular-jwt": "0.0.9",
"angular-mocks": "~1.5.6",
"angular-resource": "~1.5.6",
"angular-route": "~1.5.6",
"angular-sanitize": "~1.5.6",
"angular-toastr": "^1.7.0",
......
......@@ -12,8 +12,6 @@ module.exports = {
polyfills: [require.resolve('../../src/shared/polyfills')],
angular: [
'angular',
'angular-jwt',
'angular-resource',
'angular-route',
'angular-sanitize',
'ng-tags-input',
......
......@@ -111,8 +111,6 @@ function processAppOpts() {
module.exports = angular.module('h', [
// Angular addons which export the Angular module name
// via module.exports
require('angular-jwt'),
require('angular-resource'),
require('angular-route'),
require('angular-sanitize'),
require('angular-toastr'),
......
......@@ -13,5 +13,4 @@ sinon.assert.expose(assert, {prefix: null});
window.jQuery = window.$ = require('jquery');
require('angular');
require('angular-mocks');
require('angular-resource');
require('angular-sanitize');
......@@ -98,18 +98,10 @@ ancestors@0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/ancestors/-/ancestors-0.0.3.tgz#124eb944447d68b302057047d15d077a9da5179d"
angular-jwt@0.0.9:
version "0.0.9"
resolved "https://registry.yarnpkg.com/angular-jwt/-/angular-jwt-0.0.9.tgz#912587b520189d28d089446c7faaf30ef7534313"
angular-mocks@~1.5.6:
version "1.5.11"
resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.5.11.tgz#a0e1dd0ea55fd77ee7a757d75536c5e964c86f81"
angular-resource@~1.5.6:
version "1.5.11"
resolved "https://registry.yarnpkg.com/angular-resource/-/angular-resource-1.5.11.tgz#d93ea619184a2e0ee3ae338265758363172929f0"
angular-route@~1.5.6:
version "1.5.11"
resolved "https://registry.yarnpkg.com/angular-route/-/angular-route-1.5.11.tgz#49614f3a167f54291e449fe8ba05d39c58924b83"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment