Skip to content
Snippets Groups Projects
Commit 7e04bbf7 authored by René Schöne's avatar René Schöne
Browse files
parent 02d3315b
No related branches found
No related tags found
No related merge requests found
{ {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": { "project": {
"name": "rd-view" "name": "RAGdoc View"
}, },
"apps": [ "apps": [
{ {
"root": "src", "root": "src",
"outDir": "dist", "outDir": "dist",
"assets": [ "assets": [
"data",
"assets", "assets",
"favicon.ico" "favicon.ico"
], ],
...@@ -20,12 +19,9 @@ ...@@ -20,12 +19,9 @@
"testTsconfig": "tsconfig.spec.json", "testTsconfig": "tsconfig.spec.json",
"prefix": "app", "prefix": "app",
"styles": [ "styles": [
"styles.css", "styles.css"
"../node_modules/codemirror/lib/codemirror.css",
"../node_modules/codemirror/theme/mbo.css"
],
"scripts": [
], ],
"scripts": [],
"environmentSource": "environments/environment.ts", "environmentSource": "environments/environment.ts",
"environments": { "environments": {
"dev": "environments/environment.ts", "dev": "environments/environment.ts",
......
# See http://help.github.com/ignore-files/ for more about ignoring files. # See http://help.github.com/ignore-files/ for more about ignoring files.
/src/data/ !/src/data
/src/data/*
# compiled output # compiled output
/dist /dist
/tmp /tmp
/out-tsc /out-tsc
/build
# dependencies # dependencies
/node_modules /node_modules
......
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"rd-view": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": [
"src/data",
"src/assets",
"src/favicon.ico"
],
"styles": [
"src/styles.css",
"node_modules/codemirror/lib/codemirror.css",
"node_modules/codemirror/theme/mbo.css"
],
"scripts": [],
"aot": true
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "rd-view:build"
},
"configurations": {
"production": {
"browserTarget": "rd-view:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "rd-view:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/styles.css",
"node_modules/codemirror/lib/codemirror.css",
"node_modules/codemirror/theme/mbo.css"
],
"assets": [
"src/data",
"src/assets",
"src/favicon.ico"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
}
}
},
"rd-view-e2e": {
"root": "e2e",
"sourceRoot": "e2e",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "rd-view:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
}
}
}
}
},
"defaultProject": "rd-view",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"style": "css"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}
\ No newline at end of file
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
\ No newline at end of file
...@@ -4,33 +4,31 @@ ...@@ -4,33 +4,31 @@
module.exports = function (config) { module.exports = function (config) {
config.set({ config.set({
basePath: '', basePath: '',
frameworks: ['jasmine', '@angular/cli'], frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [ plugins: [
require('karma-jasmine'), require('karma-jasmine'),
require('karma-chrome-launcher'), require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'), require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'), require('karma-coverage-istanbul-reporter'),
require('@angular/cli/plugins/karma') require('@angular-devkit/build-angular/plugins/karma')
], ],
client:{ client:{
clearContext: false // leave Jasmine Spec Runner output visible in browser clearContext: false // leave Jasmine Spec Runner output visible in browser
}, },
files: [ files: [
{ pattern: './src/test.ts', watched: false }
], ],
preprocessors: { preprocessors: {
'./src/test.ts': ['@angular/cli']
}, },
mime: { mime: {
'text/x-typescript': ['ts','tsx'] 'text/x-typescript': ['ts','tsx']
}, },
coverageIstanbulReporter: { coverageIstanbulReporter: {
reports: [ 'html', 'lcovonly' ], dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true fixWebpackSourcePaths: true
}, },
angularCli: {
environment: 'dev'
},
reporters: config.angularCli && config.angularCli.codeCoverage reporters: config.angularCli && config.angularCli.codeCoverage
? ['progress', 'coverage-istanbul'] ? ['progress', 'coverage-istanbul']
: ['progress', 'kjhtml'], : ['progress', 'kjhtml'],
......
...@@ -5,43 +5,46 @@ ...@@ -5,43 +5,46 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build --base-href \"./\" ",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/common": "^4.0.0", "@angular/common": "^11.1.0",
"@angular/compiler": "^4.0.0", "@angular/compiler": "^11.1.0",
"@angular/core": "^4.0.0", "@angular/core": "^11.1.0",
"@angular/forms": "^4.0.0", "@angular/forms": "^11.1.0",
"@angular/http": "^4.0.0", "@angular/http": "^7.2.16",
"@angular/platform-browser": "^4.0.0", "@angular/platform-browser": "^11.1.0",
"@angular/platform-browser-dynamic": "^4.0.0", "@angular/platform-browser-dynamic": "^11.1.0",
"@angular/router": "^4.0.0", "@angular/router": "^11.1.0",
"codemirror": "5.25.2",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"rxjs": "^5.1.0", "rxjs": "^6.6.3",
"zone.js": "^0.8.4", "rxjs-compat": "^6.6.3",
"codemirror": "5.25.2" "tslib": "^2.0.0",
"zone.js": "~0.11.3"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "^1.7.3", "@angular-devkit/build-angular": "~0.1101.0",
"@angular/compiler-cli": "^4.0.0", "@angular/cli": "^11.1.0",
"@types/jasmine": "2.5.38", "@angular/compiler-cli": "^11.1.0",
"@types/node": "~6.0.60", "@types/jasmine": "~3.6.0",
"codelyzer": "~2.0.0", "@types/node": "^12.11.1",
"jasmine-core": "~2.5.2", "codelyzer": "^5.1.2",
"jasmine-spec-reporter": "~3.2.0", "jasmine-core": "~3.6.0",
"karma": "~1.4.1", "jasmine-spec-reporter": "~5.0.0",
"karma-chrome-launcher": "~2.0.0", "karma": "~5.2.3",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "~1.0.1", "karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^0.2.0", "karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~1.1.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~5.1.0", "protractor": "~7.0.0",
"ts-node": "~2.0.0", "ts-node": "~2.0.0",
"tslint": "~4.5.0", "tslint": "~6.1.0",
"typescript": "~2.2.0" "typescript": "~4.1.3"
} }
} }
...@@ -52,7 +52,7 @@ import { Location } from '@angular/common'; ...@@ -52,7 +52,7 @@ import { Location } from '@angular/common';
], ],
}) })
export class AppComponent implements OnInit { export class AppComponent implements OnInit {
title = 'OpenLicht Eraser Documentation'; title = 'Documentation';
showMenu = false; showMenu = false;
packages : Package[]; packages : Package[];
filter = ''; filter = '';
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
/** Evergreen browsers require these. **/ /** Evergreen browsers require these. **/
import 'core-js/es6/reflect'; import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
/** ALL Firefox browsers require the following to support `@angular/animation`. **/ /** ALL Firefox browsers require the following to support `@angular/animation`. **/
......
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"module": "es2015",
"baseUrl": "", "baseUrl": "",
"types": [] "types": []
}, },
"exclude": [ "files": [
"test.ts", "main.ts",
"**/*.spec.ts" "polyfills.ts"
],
"include": [
"src/**/*.d.ts"
] ]
} }
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/spec", "outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "", "baseUrl": "",
"types": [ "types": [
"jasmine", "jasmine",
...@@ -11,7 +9,8 @@ ...@@ -11,7 +9,8 @@
] ]
}, },
"files": [ "files": [
"test.ts" "test.ts",
"polyfills.ts"
], ],
"include": [ "include": [
"**/*.spec.ts", "**/*.spec.ts",
......
...@@ -3,12 +3,15 @@ ...@@ -3,12 +3,15 @@
"compilerOptions": { "compilerOptions": {
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"baseUrl": "src", "baseUrl": "src",
"downlevelIteration": true,
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"importHelpers": true,
"moduleResolution": "node", "moduleResolution": "node",
"module": "esnext",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5", "target": "es2015",
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],
......
...@@ -12,7 +12,12 @@ ...@@ -12,7 +12,12 @@
"curly": true, "curly": true,
"eofline": true, "eofline": true,
"forin": true, "forin": true,
"import-blacklist": [true, "rxjs"], "deprecation": {
"severity": "warning"
},
"import-blacklist": [
true
],
"import-spacing": true, "import-spacing": true,
"indent": [ "indent": [
true, true,
...@@ -52,9 +57,11 @@ ...@@ -52,9 +57,11 @@
"no-string-throw": true, "no-string-throw": true,
"no-switch-case-fall-through": true, "no-switch-case-fall-through": true,
"no-trailing-whitespace": true, "no-trailing-whitespace": true,
"no-host-metadata-property": true,
"no-unused-expression": true, "no-unused-expression": true,
"no-use-before-declare": true, "no-inputs-metadata-property": true,
"no-var-keyword": true, "no-var-keyword": true,
"no-outputs-metadata-property": true,
"object-literal-sort-keys": false, "object-literal-sort-keys": false,
"one-line": [ "one-line": [
true, true,
...@@ -99,15 +106,17 @@ ...@@ -99,15 +106,17 @@
], ],
"directive-selector": [true, "attribute", "app", "camelCase"], "directive-selector": [true, "attribute", "app", "camelCase"],
"component-selector": [true, "element", "app", "kebab-case"], "component-selector": [
"use-input-property-decorator": true, true,
"use-output-property-decorator": true, "element",
"use-host-property-decorator": true, "app",
"kebab-case"
],
"no-input-rename": true, "no-input-rename": true,
"no-output-rename": true, "no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"component-class-suffix": true, "component-class-suffix": true,
"use-lifecycle-interface": true,
"directive-class-suffix": true, "directive-class-suffix": true,
"no-access-missing-member": true, "no-access-missing-member": true,
"templates-use-public": true, "templates-use-public": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment