b7260326eb
1. Created a login page to create a JWT with the backend 2. Store the token locally so it can be reused between runs 3. Redirect to login on no auth 4. Redirect from login when already authenticated 5. Add a login / logout link 6. Clean up empty .css files from the tree TODO: the JWT needs to generate a refresh key yet Change-Id: I97b6f92e4ca897768c91d7816e2ef44dcd9d3acf
49 lines
1.3 KiB
JSON
Executable File
49 lines
1.3 KiB
JSON
Executable File
{
|
|
"name": "airshipui-ui",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"test": "ng test",
|
|
"lint": "ng lint"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "~10.0.3",
|
|
"@angular/cdk": "^10.0.1",
|
|
"@angular/common": "~10.0.3",
|
|
"@angular/compiler": "~10.0.3",
|
|
"@angular/core": "~10.0.3",
|
|
"@angular/flex-layout": "^9.0.0-beta.31",
|
|
"@angular/forms": "~10.0.3",
|
|
"@angular/material": "^10.0.1",
|
|
"@angular/platform-browser": "~10.0.3",
|
|
"@angular/platform-browser-dynamic": "~10.0.3",
|
|
"@angular/router": "~10.0.3",
|
|
"@auth0/angular-jwt": "^5.0.1",
|
|
"material-design-icons": "^3.0.1",
|
|
"ngx-monaco-editor": "^9.0.0",
|
|
"ngx-toastr": "^13.0.0",
|
|
"rxjs": "~6.5.5",
|
|
"tslib": "^2.0.0",
|
|
"zone.js": "~0.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-builders/jest": "^10.0.0",
|
|
"@angular-devkit/build-angular": "~0.1000.2",
|
|
"@angular/cli": "~10.0.2",
|
|
"@angular/compiler-cli": "~10.0.3",
|
|
"@types/jest": "^26.0.9",
|
|
"@types/node": "^12.11.1",
|
|
"codelyzer": "^6.0.0",
|
|
"eslint-plugin-html": "^6.0.3",
|
|
"jest": "^26.2.2",
|
|
"jest-preset-angular": "^8.2.1",
|
|
"ts-jest": "^26.1.4",
|
|
"ts-node": "~8.3.0",
|
|
"tslint": "~6.1.0",
|
|
"typescript": "~3.9.5"
|
|
}
|
|
}
|