@colijnit/sharedcomponents 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +8 -11
  2. package/colijnit-sharedcomponents-1.0.7.tgz +0 -0
  3. package/karma.conf.js +1 -1
  4. package/{projects/sharedcomponents/ng-package.json → ng-package.json} +0 -0
  5. package/package.json +2 -57
  6. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signature/signature.component.ts +0 -0
  7. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signature/style/_layout.scss +0 -0
  8. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signature/style/_material-definition.scss +0 -0
  9. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signature/style/_theme.scss +0 -0
  10. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signature/style/material.scss +0 -0
  11. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signatures/signatures.component.ts +0 -0
  12. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signatures/style/_layout.scss +0 -0
  13. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signatures/style/_material-definition.scss +0 -0
  14. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signatures/style/_theme.scss +0 -0
  15. package/{projects/sharedcomponents/src → src}/lib/components/docsign/component/signatures/style/material.scss +0 -0
  16. package/{projects/sharedcomponents/src → src}/lib/components/docsign/docsign.component.ts +0 -0
  17. package/{projects/sharedcomponents/src → src}/lib/components/docsign/docsign.module.ts +0 -0
  18. package/{projects/sharedcomponents/src → src}/lib/components/docsign/style/_layout.scss +0 -0
  19. package/{projects/sharedcomponents/src → src}/lib/components/docsign/style/_material-definition.scss +0 -0
  20. package/{projects/sharedcomponents/src → src}/lib/components/docsign/style/_theme.scss +0 -0
  21. package/{projects/sharedcomponents/src → src}/lib/components/docsign/style/material.scss +0 -0
  22. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/enums/send-option.ts +0 -0
  23. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -0
  24. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -0
  25. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/style/_layout.scss +0 -0
  26. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/style/_material-definition.scss +0 -0
  27. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/style/_theme.scss +0 -0
  28. package/{projects/sharedcomponents/src → src}/lib/components/send-method-dialog/style/material.scss +0 -0
  29. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock-information/stock-information.component.ts +0 -0
  30. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -0
  31. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock-location/stock-location.component.ts +0 -0
  32. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts +0 -0
  33. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -0
  34. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock.component.ts +0 -0
  35. package/{projects/sharedcomponents/src → src}/lib/components/stock/stock.module.ts +0 -0
  36. package/{projects/sharedcomponents/src → src}/lib/components/stock/style/_layout.scss +0 -0
  37. package/{projects/sharedcomponents/src → src}/lib/components/stock/style/_material-definition.scss +0 -0
  38. package/{projects/sharedcomponents/src → src}/lib/components/stock/style/_theme.scss +0 -0
  39. package/{projects/sharedcomponents/src → src}/lib/components/stock/style/material.scss +0 -0
  40. package/{projects/sharedcomponents/src → src}/lib/enum/icon.enum.ts +0 -0
  41. package/{projects/sharedcomponents/src → src}/lib/factory/business-object-factory.ts +0 -0
  42. package/{projects/sharedcomponents/src → src}/lib/factory/decorators/boolean.decorator.ts +0 -0
  43. package/{projects/sharedcomponents/src → src}/lib/factory/decorators/complex-array.decorator.ts +0 -0
  44. package/{projects/sharedcomponents/src → src}/lib/factory/decorators/complex-field.decorator.ts +0 -0
  45. package/{projects/sharedcomponents/src → src}/lib/factory/decorators/date-field.decorator.ts +0 -0
  46. package/{projects/sharedcomponents/src → src}/lib/factory/decorators/string-number.decorator.ts +0 -0
  47. package/{projects/sharedcomponents/src → src}/lib/model/business-object.ts +0 -0
  48. package/{projects/sharedcomponents/src → src}/lib/model/icon-svg.ts +0 -0
  49. package/{projects/sharedcomponents/src → src}/lib/service/icon-cache.service.ts +0 -0
  50. package/{projects/sharedcomponents/src → src}/lib/service/ione-connector-adapter.service.ts +0 -0
  51. package/{projects/sharedcomponents/src → src}/lib/service/stock.service.ts +0 -0
  52. package/{projects/sharedcomponents/src → src}/lib/style/_mixin.scss +0 -0
  53. package/{projects/sharedcomponents/src → src}/lib/style/_variables.scss +0 -0
  54. package/{projects/sharedcomponents/src → src}/lib/utils/array-utils.ts +0 -0
  55. package/{projects/sharedcomponents/src → src}/lib/utils/is-nill.function.ts +0 -0
  56. package/{projects/sharedcomponents/src → src}/public-api.ts +0 -0
  57. package/src/test.ts +1 -0
  58. package/{projects/sharedcomponents/tsconfig.lib.json → tsconfig.lib.json} +0 -0
  59. package/{projects/sharedcomponents/tsconfig.lib.prod.json → tsconfig.lib.prod.json} +0 -0
  60. package/tsconfig.spec.json +5 -6
  61. package/.editorconfig +0 -16
  62. package/.vscode/extensions.json +0 -4
  63. package/.vscode/launch.json +0 -20
  64. package/.vscode/tasks.json +0 -42
  65. package/Sharedcomponents.iml +0 -11
  66. package/angular.json +0 -133
  67. package/colijnit-sharedcomponents-1.0.6.tgz +0 -0
  68. package/move-assets.js +0 -14
  69. package/projects/sharedcomponents/.browserslistrc +0 -16
  70. package/projects/sharedcomponents/README.md +0 -24
  71. package/projects/sharedcomponents/karma.conf.js +0 -44
  72. package/projects/sharedcomponents/package.json +0 -15
  73. package/projects/sharedcomponents/src/test.ts +0 -27
  74. package/projects/sharedcomponents/tsconfig.spec.json +0 -17
  75. package/src/app/app.component.scss +0 -8
  76. package/src/app/app.component.spec.ts +0 -31
  77. package/src/app/app.component.ts +0 -97
  78. package/src/app/app.module.ts +0 -24
  79. package/src/assets/.gitkeep +0 -0
  80. package/src/environments/environment.prod.ts +0 -3
  81. package/src/environments/environment.ts +0 -16
  82. package/src/favicon.ico +0 -0
  83. package/src/index.html +0 -13
  84. package/src/main.ts +0 -12
  85. package/src/polyfills.ts +0 -53
  86. package/src/styles.scss +0 -28
  87. package/tsconfig.app.json +0 -15
  88. package/tsconfig.json +0 -65
package/README.md CHANGED
@@ -1,26 +1,23 @@
1
1
  # Sharedcomponents
2
2
 
3
- This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.4.
4
-
5
- ## Development server
6
-
7
- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
8
4
 
9
5
  ## Code scaffolding
10
6
 
11
- Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
7
+ Run `ng generate component component-name --project sharedcomponents` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sharedcomponents`.
8
+ > Note: Don't forget to add `--project sharedcomponents` or else it will be added to the default project in your `angular.json` file.
12
9
 
13
10
  ## Build
14
11
 
15
- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ Run `ng build sharedcomponents` to build the project. The build artifacts will be stored in the `dist/` directory.
16
13
 
17
- ## Running unit tests
14
+ ## Publishing
18
15
 
19
- Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
16
+ After building your library with `ng build sharedcomponents`, go to the dist folder `cd dist/sharedcomponents` and run `npm publish`.
20
17
 
21
- ## Running end-to-end tests
18
+ ## Running unit tests
22
19
 
23
- Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
20
+ Run `ng test sharedcomponents` to execute the unit tests via [Karma](https://karma-runner.github.io).
24
21
 
25
22
  ## Further help
26
23
 
package/karma.conf.js CHANGED
@@ -25,7 +25,7 @@ module.exports = function (config) {
25
25
  suppressAll: true // removes the duplicated traces
26
26
  },
27
27
  coverageReporter: {
28
- dir: require('path').join(__dirname, './coverage/sharedcomponents'),
28
+ dir: require('path').join(__dirname, '../../coverage/sharedcomponents'),
29
29
  subdir: '.',
30
30
  reporters: [
31
31
  { type: 'html' },
package/package.json CHANGED
@@ -1,70 +1,15 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "1.0.6",
4
- "scripts": {
5
- "ng": "ng",
6
- "start": "ng serve",
7
- "build": "ng build",
8
- "watch": "ng build --watch --configuration development",
9
- "package": "ng build && ng-packagr -p projects/sharedcomponents/ng-package.json && npm run postPackage",
10
- "postPackage": "node move-assets",
11
- "test": "ng test"
12
- },
3
+ "version": "1.0.7",
13
4
  "private": false,
14
- "dependencies": {
15
- "@angular/animations": "^12.2.0",
16
- "@angular/cdk": "^12.2.0",
5
+ "peerDependencies": {
17
6
  "@angular/common": "^12.2.0",
18
- "@angular/compiler": "^12.2.0",
19
7
  "@angular/core": "^12.2.0",
20
- "@angular/forms": "^12.2.0",
21
- "@angular/platform-browser": "^12.2.0",
22
- "@angular/platform-browser-dynamic": "^12.2.0",
23
- "@angular/router": "^12.2.0",
24
- "@colijnit/articleapi": "^1.0.2",
25
- "@colijnit/sharedapi": "^1.0.1",
26
- "@colijnit/corecomponents_v12": "12.0.24",
27
- "@syncfusion/ej2-angular-buttons": "~19.3.44",
28
- "@syncfusion/ej2-angular-calendars": "~19.3.44",
29
- "@syncfusion/ej2-angular-dropdowns": "~19.3.45",
30
- "@syncfusion/ej2-angular-grids": "~19.3.45",
31
- "@syncfusion/ej2-angular-inputs": "~19.3.44",
32
- "@syncfusion/ej2-angular-kanban": "~19.3.45",
33
- "@syncfusion/ej2-angular-lists": "~19.3.45",
34
- "@syncfusion/ej2-angular-navigations": "~19.3.45",
35
- "@syncfusion/ej2-angular-pivotview": "~19.3.44",
36
- "@syncfusion/ej2-angular-popups": "~19.3.43",
37
- "@syncfusion/ej2-angular-richtexteditor": "~19.3.45",
38
- "@syncfusion/ej2-angular-schedule": "~19.3.44",
39
- "@syncfusion/ej2-angular-splitbuttons": "~19.3.45",
40
- "@syncfusion/ej2-base": "~19.3.43",
41
- "@syncfusion/ej2-popups": "~19.3.43",
42
- "@types/three": "0.126.0",
43
- "@tweenjs/tween.js": "^17.2.0",
44
- "three": "0.126.0",
45
8
  "pdf-lib": "^1.17.1",
46
9
  "pdfjs-dist": "^2.12.313",
47
10
  "rxjs": "~7.4.0",
48
11
  "signature_pad": "^4.0.2",
49
12
  "tslib": "^2.3.0",
50
13
  "zone.js": "~0.11.4"
51
- },
52
- "devDependencies": {
53
- "@angular-devkit/build-angular": "^12.2.0",
54
- "@angular/cli": "^12.2.0",
55
- "@angular/compiler-cli": "^12.2.0",
56
- "@types/jasmine": "~3.10.0",
57
- "@types/node": "^12.11.1",
58
- "jasmine-core": "~3.10.0",
59
- "karma": "~6.3.0",
60
- "karma-chrome-launcher": "~3.1.0",
61
- "karma-coverage": "~2.1.0",
62
- "karma-jasmine": "~4.0.0",
63
- "karma-jasmine-html-reporter": "~1.7.0",
64
- "ng-packagr": "^12.1.1",
65
- "typescript": "~4.3.5"
66
- },
67
- "peerDependencies": {
68
- "@colijnit/corecomponents_v12": "^12.0.21"
69
14
  }
70
15
  }
package/src/test.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
2
 
3
+ import 'zone.js';
3
4
  import 'zone.js/testing';
4
5
  import { getTestBed } from '@angular/core/testing';
5
6
  import {
@@ -1,18 +1,17 @@
1
1
  /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
2
  {
3
- "extends": "./tsconfig.json",
3
+ "extends": "../../tsconfig.json",
4
4
  "compilerOptions": {
5
- "outDir": "./out-tsc/spec",
5
+ "outDir": "../../out-tsc/spec",
6
6
  "types": [
7
7
  "jasmine"
8
8
  ]
9
9
  },
10
10
  "files": [
11
- "src/test.ts",
12
- "src/polyfills.ts"
11
+ "src/test.ts"
13
12
  ],
14
13
  "include": [
15
- "src/**/*.spec.ts",
16
- "src/**/*.d.ts"
14
+ "**/*.spec.ts",
15
+ "**/*.d.ts"
17
16
  ]
18
17
  }
package/.editorconfig DELETED
@@ -1,16 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.ts]
12
- quote_type = single
13
-
14
- [*.md]
15
- max_line_length = off
16
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
- "recommendations": ["angular.ng-template"]
4
- }
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "pwa-chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$">
6
- <excludeFolder url="file://$MODULE_DIR$/dist" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- </component>
11
- </module>
package/angular.json DELETED
@@ -1,133 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "Sharedcomponents": {
7
- "projectType": "application",
8
- "schematics": {
9
- "@schematics/angular:application": {
10
- "strict": true,
11
- "style": "scss"
12
- }
13
- },
14
- "root": "",
15
- "sourceRoot": "src",
16
- "prefix": "app",
17
- "architect": {
18
- "build": {
19
- "builder": "@angular-devkit/build-angular:browser",
20
- "options": {
21
- "outputPath": "dist/sharedcomponents",
22
- "index": "src/index.html",
23
- "main": "src/main.ts",
24
- "polyfills": "src/polyfills.ts",
25
- "tsConfig": "tsconfig.app.json",
26
- "assets": [
27
- "src/favicon.ico",
28
- "src/assets"
29
- ],
30
- "styles": [
31
- "src/styles.scss"
32
- ],
33
- "stylePreprocessorOptions": {
34
- "includePaths": [
35
- "node_modules/@syncfusion",
36
- "node_modules/@colijnit",
37
- "projects/sharedcomponents/src/lib"
38
- ]
39
- },
40
- "scripts": []
41
- },
42
- "configurations": {
43
- "production": {
44
- "fileReplacements": [
45
- {
46
- "replace": "src/environments/environment.ts",
47
- "with": "src/environments/environment.prod.ts"
48
- }
49
- ],
50
- "outputHashing": "all"
51
- },
52
- "development": {
53
- "buildOptimizer": false,
54
- "optimization": false,
55
- "vendorChunk": true,
56
- "extractLicenses": false,
57
- "sourceMap": true,
58
- "namedChunks": true
59
- }
60
- },
61
- "defaultConfiguration": "production"
62
- },
63
- "serve": {
64
- "builder": "@angular-devkit/build-angular:dev-server",
65
- "configurations": {
66
- "production": {
67
- "browserTarget": "Sharedcomponents:build:production"
68
- },
69
- "development": {
70
- "browserTarget": "Sharedcomponents:build:development"
71
- }
72
- },
73
- "defaultConfiguration": "development"
74
- },
75
- "extract-i18n": {
76
- "builder": "@angular-devkit/build-angular:extract-i18n",
77
- "options": {
78
- "browserTarget": "Sharedcomponents:build"
79
- }
80
- },
81
- "test": {
82
- "builder": "@angular-devkit/build-angular:karma",
83
- "options": {
84
- "main": "src/test.ts",
85
- "polyfills": "src/polyfills.ts",
86
- "tsConfig": "tsconfig.spec.json",
87
- "karmaConfig": "karma.conf.js",
88
- "assets": [
89
- "src/favicon.ico",
90
- "src/assets"
91
- ],
92
- "styles": [
93
- "src/styles.scss"
94
- ],
95
- "scripts": []
96
- }
97
- }
98
- }
99
- },
100
- "sharedcomponents": {
101
- "projectType": "library",
102
- "root": "projects/sharedcomponents",
103
- "sourceRoot": "projects/sharedcomponents/src",
104
- "prefix": "lib",
105
- "architect": {
106
- "build": {
107
- "builder": "@angular-devkit/build-angular:ng-packagr",
108
- "options": {
109
- "project": "projects/sharedcomponents/ng-package.json"
110
- },
111
- "configurations": {
112
- "production": {
113
- "tsConfig": "projects/sharedcomponents/tsconfig.lib.prod.json"
114
- },
115
- "development": {
116
- "tsConfig": "projects/sharedcomponents/tsconfig.lib.json"
117
- }
118
- },
119
- "defaultConfiguration": "production"
120
- },
121
- "test": {
122
- "builder": "@angular-devkit/build-angular:karma",
123
- "options": {
124
- "main": "projects/sharedcomponents/src/test.ts",
125
- "tsConfig": "projects/sharedcomponents/tsconfig.spec.json",
126
- "karmaConfig": "projects/sharedcomponents/karma.conf.js"
127
- }
128
- }
129
- }
130
- }
131
- },
132
- "defaultProject": "Sharedcomponents"
133
- }
Binary file
package/move-assets.js DELETED
@@ -1,14 +0,0 @@
1
- var fs = require('fs-extra')
2
-
3
- var oldSrcPath = 'dist/sharedcomponents/src';
4
- var oldPath = 'dist/sharedcomponents/src/lib';
5
- var newPath = 'dist/sharedcomponents/lib';
6
-
7
- const copyLibFolder = async () => {
8
- await fs.copy(oldPath, newPath, function (err) {
9
- if (err) throw err;
10
- fs.rmSync(oldSrcPath, { recursive: true, force: true });
11
- console.log('Successfully moved assets!')
12
- });
13
- }
14
- copyLibFolder();
@@ -1,16 +0,0 @@
1
- # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2
- # For additional information regarding the format and rule options, please see:
3
- # https://github.com/browserslist/browserslist#queries
4
-
5
- # For the full list of supported browsers by the Angular framework, please see:
6
- # https://angular.io/guide/browser-support
7
-
8
- # You can see what browsers were selected by your queries by running:
9
- # npx browserslist
10
-
11
- last 1 Chrome version
12
- last 1 Firefox version
13
- last 2 Edge major versions
14
- last 2 Safari major versions
15
- last 2 iOS major versions
16
- Firefox ESR
@@ -1,24 +0,0 @@
1
- # Sharedcomponents
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project sharedcomponents` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sharedcomponents`.
8
- > Note: Don't forget to add `--project sharedcomponents` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build sharedcomponents` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build sharedcomponents`, go to the dist folder `cd dist/sharedcomponents` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test sharedcomponents` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -1,44 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/sharedcomponents'),
29
- subdir: '.',
30
- reporters: [
31
- { type: 'html' },
32
- { type: 'text-summary' }
33
- ]
34
- },
35
- reporters: ['progress', 'kjhtml'],
36
- port: 9876,
37
- colors: true,
38
- logLevel: config.LOG_INFO,
39
- autoWatch: true,
40
- browsers: ['Chrome'],
41
- singleRun: false,
42
- restartOnFileChange: true
43
- });
44
- };