Begin angular migration

parent b418fbd6
......@@ -45,18 +45,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^7.2.12",
"@angular/common": "^7.2.12",
"@angular/compiler": "^7.2.12",
"@angular/core": "^7.2.12",
"@angular/forms": "^7.2.12",
"@angular/http": "^7.2.12",
"@angular/platform-browser": "^7.2.12",
"@angular/platform-browser-dynamic": "^7.2.12",
"@angular/platform-server": "^7.2.12",
"@angular/animations": "^8.0.2",
"@angular/common": "^8.0.2",
"@angular/compiler": "^8.0.2",
"@angular/core": "^8.0.2",
"@angular/forms": "^8.0.2",
"@angular/platform-browser": "^8.0.2",
"@angular/platform-browser-dynamic": "^8.0.2",
"@angular/platform-server": "^8.0.2",
"@angular/pwa": "^0.13.8",
"@angular/router": "^7.2.12",
"@angular/service-worker": "^7.2.12",
"@angular/router": "^8.0.2",
"@angular/service-worker": "^8.0.2",
"@auth0/angular-jwt": "2.1.0",
"@fortawesome/angular-fontawesome": "^0.3.0",
"@fortawesome/fontawesome-svg-core": "^1.2.17",
......@@ -78,29 +77,27 @@
"marked": "git+https://github.com/trayhem/marked.git",
"messageformat": "^2.1.0",
"ngx-infinite-scroll": "^7.1.0",
"ngx-qrcode2": "^0.1.0",
"ngx-toastr": "^9.2.0",
"ngx-translate-messageformat-compiler": "^4.4.0",
"rxjs": "^6.4.0",
"rxjs": "^6.5.2",
"ts-loader": "^5.3.3",
"zone.js": "^0.8.29",
"zone.js": "~0.9.1",
"angular-svg-icon": "^7.2.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.12.4",
"@angular/cli": "^7.3.8",
"@angular/compiler-cli": "^7.2.12",
"@angular/language-service": "^7.2.12",
"@angular-devkit/build-angular": "~0.800.0",
"@angular/cli": "^8.0.4",
"@angular/compiler-cli": "^8.0.2",
"@angular/language-service": "^8.0.2",
"@types/intro.js": "^2.4.4",
"@types/jasmine": "~3.3.0",
"@types/jasminewd2": "~2.0.6",
"@types/modernizr": "^3.5.3",
"@types/node": "^10.12.18",
"@types/webpack": "^4.4.27",
"arsnova-click-v2-types": "git+https://git.thm.de/arsnova/arsnova-click-v2-types.git",
"chrome-launcher": "^0.10.5",
"chrome-remote-interface": "^0.27.1",
"codelyzer": "^4.5.0",
"codelyzer": "^5.0.1",
"angular-http-server": "^1.8.1",
"imagemin": "^6.1.0",
"imagemin-pngquant": "^6.0.1",
......@@ -122,7 +119,7 @@
"ts-node": "~7.0.1",
"tslib": "^1.9.3",
"tslint": "~5.12.1",
"typescript": "~3.1.6",
"typescript": "~3.4.5",
"webpack-cli": "^3.1.2",
"webpack-node-externals": "^1.7.2"
},
......
......@@ -50,29 +50,29 @@ export const appRoutes: Routes = [
{
path: 'admin',
canLoad: [StaticLoginService],
loadChildren: 'app/admin/admin.module#AdminModule',
loadChildren: () => import('app/admin/admin.module').then(m => m.AdminModule),
}, {
path: 'info',
loadChildren: 'app/root/info/info.module#InfoModule',
loadChildren: () => import('app/root/info/info.module').then(m => m.InfoModule),
}, {
path: 'i18n-manager',
canLoad: [StaticLoginService],
loadChildren: 'app/i18n-manager/i18n-manager.module#I18nManagerModule',
loadChildren: () => import('app/i18n-manager/i18n-manager.module').then(m => m.I18nManagerModule),
}, {
path: 'quiz/manager',
loadChildren: 'app/quiz/quiz-manager/quiz-manager.module#QuizManagerModule',
loadChildren: () => import('app/quiz/quiz-manager/quiz-manager.module').then(m => m.QuizManagerModule),
}, {
path: 'quiz/flow',
loadChildren: 'app/quiz/quiz-flow/quiz-flow.module#QuizFlowModule',
loadChildren: () => import('app/quiz/quiz-flow/quiz-flow.module').then(m => m.QuizFlowModule),
data: {
preload: true,
},
}, {
path: 'quiz',
loadChildren: 'app/quiz/quiz.module#QuizModule',
loadChildren: () => import('app/quiz/quiz.module').then(m => m.QuizModule),
}, {
path: 'nicks',
loadChildren: 'app/root/nickname-chooser/nickname-chooser.module#NicknameChooserModule',
loadChildren: () => import('app/root/nickname-chooser/nickname-chooser.module').then(m => m.NicknameChooserModule),
data: {
preload: true,
},
......
......@@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "es2015",
"removeComments": true,
"baseUrl": "",
"types": []
......
......@@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"types": [
"jasmine",
"node"
......
......@@ -2,7 +2,9 @@
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"importHelpers": true,
"module": "esnext",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
......@@ -10,7 +12,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"target": "es5",
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
......
......@@ -137,12 +137,12 @@
"app",
"kebab-case"
],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
......
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