Cleanup old dependencies.
This commit is contained in:
parent
1310807939
commit
57256e9ba7
10
package.json
10
package.json
@ -45,26 +45,16 @@
|
||||
"@angular/platform-browser": "^4.3.2",
|
||||
"@angular/platform-browser-dynamic": "^4.3.2",
|
||||
"@angular/router": "^4.3.2",
|
||||
"@angular/upgrade": "^4.3.2",
|
||||
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.29",
|
||||
"@nsalaun/ng-logger": "^2.0.1",
|
||||
"@types/angular": "^1.6.28",
|
||||
"@types/c3": "^0.4.44",
|
||||
"@types/node": "^8.0.17",
|
||||
"@uirouter/angularjs": "^1.0.5",
|
||||
"@uirouter/core": "^5.0.5",
|
||||
"angular": "^1.6.5",
|
||||
"angular-http-auth": "^1.5.0",
|
||||
"angular-resource": "^1.6.5",
|
||||
"angular-strap": "^2.3.12",
|
||||
"angular2-text-mask": "^8.0.2",
|
||||
"base64util": "^1.0.2",
|
||||
"bootbox": "^4.4.0",
|
||||
"bootstrap": "4.0.0-alpha.6",
|
||||
"c3": "^0.4.15",
|
||||
"font-awesome": "^4.7.0",
|
||||
"jquery": "^3.2.1",
|
||||
"meanie-angular-storage": "^1.3.1",
|
||||
"moment": "^2.18.1",
|
||||
"ngx-toastr": "^5.3.1",
|
||||
"reflect-metadata": "^0.1.10",
|
||||
|
@ -1,32 +0,0 @@
|
||||
// vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
var angular = require('angular');
|
||||
|
||||
var ngStorage = require('meanie-angular-storage'),
|
||||
ngHttpAuth = require('angular-http-auth'),
|
||||
ngStrap = require('angular-strap');
|
||||
|
||||
// Note: ngHttpAuth seems to have no module.exports.
|
||||
ngHttpAuth = 'http-auth-interceptor';
|
||||
|
||||
var LoginService = require('./login.service');
|
||||
var LoginConfig = require('./login.config');
|
||||
|
||||
export default angular.module('accountant.login', [
|
||||
ngHttpAuth,
|
||||
ngStrap,
|
||||
ngStorage
|
||||
])
|
||||
|
||||
.service('LoginService', LoginService)
|
||||
|
||||
.config(LoginConfig)
|
||||
|
||||
.run(function($rootScope, LoginService) {
|
||||
var onAuthLoginRequired = $rootScope.$on('event:auth-loginRequired', LoginService.loginModal);
|
||||
|
||||
$rootScope.$on('$destroy', function() {
|
||||
onAuthLoginRequired = angular.noop();
|
||||
});
|
||||
})
|
||||
|
||||
.name;
|
@ -9,18 +9,6 @@ module.exports = {
|
||||
devtool: 'source-map',
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.html'],
|
||||
alias: {
|
||||
'@accountant/accounts': path.resolve(
|
||||
__dirname, 'src/accounts/index.ts'),
|
||||
'@accountant/operations': path.resolve(
|
||||
__dirname, 'src/operations/index.ts'),
|
||||
'@accountant/login': path.resolve(
|
||||
__dirname, 'src/login/index.ts'),
|
||||
'@accountant/scheduler': path.resolve(
|
||||
__dirname, 'src/scheduler/index.ts'),
|
||||
'@angular/upgrade/static': path.resolve(
|
||||
__dirname, 'node_modules/@angular/upgrade/bundles/upgrade-static.umd.js'),
|
||||
}
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
|
Loading…
Reference in New Issue
Block a user