File tree 6 files changed +148
-19
lines changed
6 files changed +148
-19
lines changed Original file line number Diff line number Diff line change
1
+ # Editor configuration, see http://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
+ [* .md ]
12
+ max_line_length = off
13
+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1
- # Compiled files
2
- dist
3
- * .js
4
- * .map
5
- * .d.ts
6
- dist.tgz
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
7
2
8
- # Library directories
9
- node_modules
10
- coverage
11
- npm-debug.log
3
+ # compiled output
4
+ / dist
5
+ / tmp
6
+ / out-tsc
12
7
13
- # Mac
14
- .DS_Store
15
- ** /.DS_Store
8
+ # dependencies
9
+ /node_modules
16
10
17
- # Ignore VSCode Config
18
- .vscode
11
+ # IDEs and editors
12
+ /.idea
13
+ .project
14
+ .classpath
15
+ .c9 /
16
+ * .launch
17
+ .settings /
18
+ * .sublime-workspace
19
19
20
- # JetBrains
21
- .idea
20
+ # IDE - VSCode
21
+ .vscode /*
22
+ ! .vscode /settings.json
23
+ ! .vscode /tasks.json
24
+ ! .vscode /launch.json
25
+ ! .vscode /extensions.json
22
26
23
- # Yarn
27
+ # misc
28
+ /.sass-cache
29
+ /connect.lock
30
+ /coverage
31
+ /libpeerconnection.log
32
+ npm-debug.log
24
33
yarn-error.log
34
+ testem.log
35
+ /typings
36
+
37
+ # System Files
38
+ .DS_Store
39
+ Thumbs.db
Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ tsconfig.json
22
22
* .ngsummary.json
23
23
24
24
# Yarn
25
- yarn-error.log
25
+ yarn-error.log
26
+ yarn.lock
Original file line number Diff line number Diff line change
1
+ // Protractor configuration file, see link for more information
2
+ // https://github.com/angular/protractor/blob/master/lib/config.ts
3
+
4
+ const { SpecReporter } = require ( 'jasmine-spec-reporter' ) ;
5
+
6
+ exports . config = {
7
+ allScriptsTimeout : 11000 ,
8
+ specs : [
9
+ './src/**/*.e2e-spec.ts'
10
+ ] ,
11
+ capabilities : {
12
+ 'browserName' : 'chrome'
13
+ } ,
14
+ directConnect : true ,
15
+ baseUrl : 'http://localhost:4200/' ,
16
+ framework : 'jasmine' ,
17
+ jasmineNodeOpts : {
18
+ showColors : true ,
19
+ defaultTimeoutInterval : 30000 ,
20
+ print : function ( ) { }
21
+ } ,
22
+ onPrepare ( ) {
23
+ require ( 'ts-node' ) . register ( {
24
+ project : require ( 'path' ) . join ( __dirname , './tsconfig.e2e.json' )
25
+ } ) ;
26
+ jasmine . getEnv ( ) . addReporter ( new SpecReporter ( { spec : { displayStacktrace : true } } ) ) ;
27
+ }
28
+ } ;
Original file line number Diff line number Diff line change
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-istanbul-reporter' ) ,
13
+ require ( '@angular-devkit/build-angular/plugins/karma' )
14
+ ] ,
15
+ client : {
16
+ clearContext : false // leave Jasmine Spec Runner output visible in browser
17
+ } ,
18
+ coverageIstanbulReporter : {
19
+ dir : require ( 'path' ) . join ( __dirname , '../../coverage' ) ,
20
+ reports : [ 'html' , 'lcovonly' ] ,
21
+ fixWebpackSourcePaths : true
22
+ } ,
23
+ reporters : [ 'progress' , 'kjhtml' ] ,
24
+ port : 9876 ,
25
+ colors : true ,
26
+ logLevel : config . LOG_INFO ,
27
+ autoWatch : true ,
28
+ browsers : [ 'Chrome' ] ,
29
+
30
+ //--- Custom Config for Travis CI ---
31
+ customLaunchers : {
32
+ ChromeNoSandbox : {
33
+ base : 'Chrome' ,
34
+ flags : [ '--no-sandbox' ]
35
+ }
36
+ } ,
37
+ //---
38
+
39
+ singleRun : false
40
+ } ) ;
41
+ } ;
Original file line number Diff line number Diff line change
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-istanbul-reporter' ) ,
13
+ require ( '@angular-devkit/build-angular/plugins/karma' )
14
+ ] ,
15
+ client : {
16
+ clearContext : false // leave Jasmine Spec Runner output visible in browser
17
+ } ,
18
+ coverageIstanbulReporter : {
19
+ dir : require ( 'path' ) . join ( __dirname , '../coverage' ) ,
20
+ reports : [ 'html' , 'lcovonly' ] ,
21
+ fixWebpackSourcePaths : true
22
+ } ,
23
+ reporters : [ 'progress' , 'kjhtml' ] ,
24
+ port : 9876 ,
25
+ colors : true ,
26
+ logLevel : config . LOG_INFO ,
27
+ autoWatch : true ,
28
+ browsers : [ 'Chrome' ] ,
29
+ singleRun : false
30
+ } ) ;
31
+ } ;
You can’t perform that action at this time.
0 commit comments