intermediate-component-sa 1.0.6 → 1.1.0
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.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -20
- package/build-dev.bat +2 -0
- package/build-prod-aot.bat +2 -0
- package/build-prod-rollup-aot.bat +2 -0
- package/build-prod.bat +2 -0
- package/config.ts +4 -0
- package/gulpfile.ts +172 -0
- package/index.js +4 -2
- package/karma.conf.js +124 -0
- package/package.json +326 -5
- package/postgrator-test.json +9 -0
- package/postgrator.json +9 -0
- package/src/app.server.ts +4 -0
- package/src/client/app/app.component.ts +37 -0
- package/src/client/app/app.html +6 -0
- package/src/client/app/app.module.ts +36 -0
- package/src/client/app/app.routing.ts +7 -0
- package/src/client/app/hot_loader_main.ts +14 -0
- package/src/client/app/main-aot.ts +8 -0
- package/src/client/app/main.ts +8 -0
- package/src/client/app/rxjs-operators.ts +15 -0
- package/src/client/index.html +90 -0
- package/src/client/tsconfig.json +44 -0
- package/src/server/config/app.config.ts +57 -0
- package/src/server/config/jwt.config.ts +4 -0
- package/src/server/config/logger.config.ts +161 -0
- package/src/server/config/mssql.config.ts +30 -0
- package/src/server/config/redis.config.ts +10 -0
- package/src/server/config/server.config.ts +20 -0
- package/src/server/config/templates.config.ts +41 -0
- package/src/server/crypt.ts +37 -0
- package/src/server/customRequest.ts +609 -0
- package/src/server/index.ts +231 -0
- package/src/server/interfaces/cleaner.interface.ts +3 -0
- package/src/server/interfaces/supervisor.interface.ts +3 -0
- package/src/server/routes-centralized.ts +36 -0
- package/src/server/routes.ts +6 -0
- package/src/server/services/index.ts +10 -0
- package/src/server/services/routes.service.ts +11 -0
- package/src/server/shared/file-manager.ts +1007 -0
- package/src/server/shared/http.shared.ts +49 -0
- package/src/server/shared/promises.shared.ts +13 -0
- package/src/server/shared/security.shared.ts +90 -0
- package/src/server/ssl/star_inconcertcc_com.key +28 -0
- package/src/server/ssl/star_inconcertcc_com.pem +62 -0
- package/src/server/tsconfig.json +38 -0
- package/tools/build.js.prod.ts +40 -0
- package/tools/config/project.config.ts +718 -0
- package/tools/config.ts +4 -0
- package/tools/database/SchemaZen.exe +0 -0
- package/tools/database/generate-all-data-scripts.bat +32 -0
- package/tools/database/generate-database-scripts.bat +36 -0
- package/tools/debug.ts +17 -0
- package/tools/env/base.ts +8 -0
- package/tools/env/dev.ts +9 -0
- package/tools/env/env-config.interface.ts +1 -0
- package/tools/env/prod.ts +10 -0
- package/tools/manual_typings/project/sample.package.d.ts +3 -0
- package/tools/manual_typings/seed/angular2-hot-loader.d.ts +9 -0
- package/tools/manual_typings/seed/autoprefixer.d.ts +13 -0
- package/tools/manual_typings/seed/colorguard.d.ts +15 -0
- package/tools/manual_typings/seed/connect-livereload.d.ts +5 -0
- package/tools/manual_typings/seed/cssnano.d.ts +18 -0
- package/tools/manual_typings/seed/doiuse.d.ts +16 -0
- package/tools/manual_typings/seed/express-history-api-fallback.d.ts +18 -0
- package/tools/manual_typings/seed/istream.d.ts +10 -0
- package/tools/manual_typings/seed/karma.d.ts +12 -0
- package/tools/manual_typings/seed/merge-stream.d.ts +8 -0
- package/tools/manual_typings/seed/open.d.ts +8 -0
- package/tools/manual_typings/seed/postcss-reporter.d.ts +20 -0
- package/tools/manual_typings/seed/slash.d.ts +5 -0
- package/tools/manual_typings/seed/stylelint.d.ts +16 -0
- package/tools/manual_typings/seed/systemjs-builder.d.ts +10 -0
- package/tools/manual_typings/seed/tildify.d.ts +5 -0
- package/tools/manual_typings/seed/tiny-lr.d.ts +10 -0
- package/tools/manual_typings/seed/walk.d.ts +10 -0
- package/tools/scripts/install.speech-analytic.sh +35 -0
- package/tools/tasks/build.app.server.ts +57 -0
- package/tools/tasks/build.assets.dev.ts +19 -0
- package/tools/tasks/build.assets.prod.ts +31 -0
- package/tools/tasks/build.bundles.app.aot.ts +31 -0
- package/tools/tasks/build.bundles.app.rollup.aot.ts +101 -0
- package/tools/tasks/build.bundles.app.ts +31 -0
- package/tools/tasks/build.bundles.ts +45 -0
- package/tools/tasks/build.database.scripts.runner.ts +137 -0
- package/tools/tasks/build.database.scripts.ts +27 -0
- package/tools/tasks/build.flags.ts +9 -0
- package/tools/tasks/build.fonts.ts +9 -0
- package/tools/tasks/build.html_css.ts +126 -0
- package/tools/tasks/build.index.dev.ts +68 -0
- package/tools/tasks/build.index.prod.ts +64 -0
- package/tools/tasks/build.js.dev.ts +66 -0
- package/tools/tasks/build.js.prod.aot.ts +44 -0
- package/tools/tasks/build.js.prod.rollup.aot.ts +50 -0
- package/tools/tasks/build.js.prod.ts +40 -0
- package/tools/tasks/build.packages.prod.ts +19 -0
- package/tools/tasks/build.server.dev.ts +59 -0
- package/tools/tasks/build.server.prod.ts +31 -0
- package/tools/tasks/build.server.statics.ts +24 -0
- package/tools/tasks/build.skins.ts +51 -0
- package/tools/tasks/build.sme.prod.aot.ts +6 -0
- package/tools/tasks/build.sme.prod.rollup.aot.ts +6 -0
- package/tools/tasks/build.sme.prod.ts +6 -0
- package/tools/tasks/build.tar.prod.ts +17 -0
- package/tools/tasks/build.test.database.scripts.ts +52 -0
- package/tools/tasks/clean.dev.ts +7 -0
- package/tools/tasks/clean.prod.ts +7 -0
- package/tools/tasks/compile.ahead.prod.ts +65 -0
- package/tools/tasks/copy.client.js.prod.rollup.aot.ts +33 -0
- package/tools/tasks/copy.client.js.prod.ts +18 -0
- package/tools/tasks/copy.server.assets.ts +38 -0
- package/tools/tasks/copy.server.js.prod.ts +16 -0
- package/tools/tasks/css-lint.ts +58 -0
- package/tools/tasks/e2e.ts +32 -0
- package/tools/tasks/karma.run.ts +18 -0
- package/tools/tasks/karma.watch.ts +9 -0
- package/tools/tasks/minify.server.statics.ts +52 -0
- package/tools/tasks/server.prod.ts +6 -0
- package/tools/tasks/server.start.ts +6 -0
- package/tools/tasks/test.database.ts +6 -0
- package/tools/tasks/transpile.bundles.rollup.aot.ts +43 -0
- package/tools/tasks/tslint.ts +64 -0
- package/tools/tasks/watch.file.changes.dev.ts +37 -0
- package/tools/tasks/watch.key.press.dev.ts +116 -0
- package/tools/tasks/webdriver.ts +6 -0
- package/tools/utils/project/sample_util.ts +18 -0
- package/tools/utils/project.utils.ts +4 -0
- package/tools/utils/seed/build_optimizer.ts +26 -0
- package/tools/utils/seed/clean.ts +35 -0
- package/tools/utils/seed/code_change_tools.ts +38 -0
- package/tools/utils/seed/karma.start.ts +10 -0
- package/tools/utils/seed/server.ts +43 -0
- package/tools/utils/seed/sme.ts +51 -0
- package/tools/utils/seed/tasks_tools.ts +70 -0
- package/tools/utils/seed/template_locals.ts +64 -0
- package/tools/utils/seed/tsproject.ts +25 -0
- package/tools/utils/seed.utils.ts +11 -0
- package/tools/utils.ts +5 -0
- package/tsconfig.json +33 -0
- package/tslint.json +120 -0
- package/utils.ts +5 -0
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
|
|
2
|
-
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.
|
|
3
|
-
|
|
4
|
-
# Getting Started
|
|
5
|
-
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
|
|
6
|
-
1. Installation process
|
|
7
|
-
2. Software dependencies
|
|
8
|
-
3. Latest releases
|
|
9
|
-
4. API references
|
|
10
|
-
|
|
11
|
-
# Build and Test
|
|
12
|
-
TODO: Describe and show how to build your code and run the tests.
|
|
13
|
-
|
|
14
|
-
# Contribute
|
|
15
|
-
TODO: Explain how other users and developers can contribute to make your code better.
|
|
16
|
-
|
|
17
|
-
If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
|
|
18
|
-
- [ASP.NET Core](https://github.com/aspnet/Home)
|
|
19
|
-
- [Visual Studio Code](https://github.com/Microsoft/vscode)
|
|
20
|
-
- [Chakra Core](https://github.com/Microsoft/ChakraCore)
|
|
1
|
+
1.En las vistas de filtros, el cliente siempre va a enviar su fecha/hora local y su zona horaria como parámetro, en el server esas fechas serán convertidas a UTC-0
|
package/build-dev.bat
ADDED
package/build-prod.bat
ADDED
package/config.ts
ADDED
package/gulpfile.ts
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import * as gulp from 'gulp';
|
|
2
|
+
import * as path from 'path';
|
|
3
|
+
import * as log from 'fancy-log';
|
|
4
|
+
import * as runSequence from 'gulp4-run-sequence';
|
|
5
|
+
import { loadTasks } from './tools/utils';
|
|
6
|
+
|
|
7
|
+
loadTasks(path.resolve('./tools/tasks'));
|
|
8
|
+
|
|
9
|
+
// --------------
|
|
10
|
+
// Build dev.
|
|
11
|
+
gulp.task('build.dev', (done: any) =>
|
|
12
|
+
runSequence(//'clean.dev',
|
|
13
|
+
'build.assets.dev',
|
|
14
|
+
'build.html_css',
|
|
15
|
+
'build.fonts',
|
|
16
|
+
'build.flags',
|
|
17
|
+
'build.skins',
|
|
18
|
+
'build.js.dev',
|
|
19
|
+
'build.index.dev',
|
|
20
|
+
'build.server.dev',
|
|
21
|
+
'build.app.server',
|
|
22
|
+
'copy.server.assets',
|
|
23
|
+
'build.server.statics',
|
|
24
|
+
done));
|
|
25
|
+
|
|
26
|
+
// --------------
|
|
27
|
+
// Build prod (compilación JIT)
|
|
28
|
+
gulp.task('build.prod', (done: any) =>
|
|
29
|
+
runSequence('clean.prod',
|
|
30
|
+
//'tslint',
|
|
31
|
+
//'css-lint',
|
|
32
|
+
'build.assets.prod',
|
|
33
|
+
'build.skins',
|
|
34
|
+
'build.html_css',
|
|
35
|
+
'copy.client.js.prod',
|
|
36
|
+
'copy.server.js.prod',
|
|
37
|
+
'build.js.prod',
|
|
38
|
+
'build.bundles',
|
|
39
|
+
'build.bundles.app',
|
|
40
|
+
'build.index.prod',
|
|
41
|
+
'build.server.prod',
|
|
42
|
+
'build.app.server',
|
|
43
|
+
'copy.server.assets',
|
|
44
|
+
'build.packages.prod',
|
|
45
|
+
'build.server.statics',
|
|
46
|
+
'minify.server.statics',
|
|
47
|
+
'build.tar.prod',
|
|
48
|
+
//'build.database.scripts',
|
|
49
|
+
done));
|
|
50
|
+
|
|
51
|
+
// --------------
|
|
52
|
+
// Build prod (compilación AOT)
|
|
53
|
+
gulp.task('build.prod.aot', (done: any) =>
|
|
54
|
+
runSequence('clean.prod',
|
|
55
|
+
//'tslint',
|
|
56
|
+
//'css-lint',
|
|
57
|
+
'build.assets.prod',
|
|
58
|
+
'build.fonts',
|
|
59
|
+
'build.flags',
|
|
60
|
+
'build.skins',
|
|
61
|
+
'build.html_css',
|
|
62
|
+
'copy.client.js.prod',
|
|
63
|
+
'copy.server.js.prod',
|
|
64
|
+
'compile.ahead.prod',
|
|
65
|
+
'build.js.prod.aot',
|
|
66
|
+
'build.bundles',
|
|
67
|
+
'build.bundles.app.aot',
|
|
68
|
+
'build.index.prod',
|
|
69
|
+
'build.server.prod',
|
|
70
|
+
'build.app.server',
|
|
71
|
+
'copy.server.assets',
|
|
72
|
+
'build.packages.prod',
|
|
73
|
+
'build.server.statics',
|
|
74
|
+
'minify.server.statics',
|
|
75
|
+
'build.tar.prod',
|
|
76
|
+
'build.database.scripts',
|
|
77
|
+
done));
|
|
78
|
+
|
|
79
|
+
// --------------
|
|
80
|
+
// Build prod (compilación AOT y rollup)
|
|
81
|
+
gulp.task('build.prod.rollup.aot', (done: any) =>
|
|
82
|
+
runSequence('clean.prod',
|
|
83
|
+
//'tslint',
|
|
84
|
+
//'css-lint',
|
|
85
|
+
'build.assets.prod',
|
|
86
|
+
'build.fonts',
|
|
87
|
+
'build.flags',
|
|
88
|
+
'build.skins',
|
|
89
|
+
'build.html_css',
|
|
90
|
+
'copy.client.js.prod.rollup.aot',
|
|
91
|
+
'copy.server.js.prod',
|
|
92
|
+
'compile.ahead.prod',
|
|
93
|
+
'build.js.prod.rollup.aot',
|
|
94
|
+
'build.bundles',
|
|
95
|
+
'build.bundles.app.rollup.aot',
|
|
96
|
+
'transpile.bundles.rollup.aot',
|
|
97
|
+
'build.index.prod',
|
|
98
|
+
'build.server.prod',
|
|
99
|
+
'build.app.server',
|
|
100
|
+
'copy.server.assets',
|
|
101
|
+
'build.packages.prod',
|
|
102
|
+
'build.server.statics',
|
|
103
|
+
'minify.server.statics',
|
|
104
|
+
'build.tar.prod',
|
|
105
|
+
'build.database.scripts',
|
|
106
|
+
done));
|
|
107
|
+
|
|
108
|
+
// --------------
|
|
109
|
+
// Build prod (compilación JIT) y análisis del espacio usado en el bundle
|
|
110
|
+
gulp.task('sme.prod', (done: any) =>
|
|
111
|
+
runSequence('build.prod',
|
|
112
|
+
'build.sme.prod',
|
|
113
|
+
done));
|
|
114
|
+
|
|
115
|
+
// --------------
|
|
116
|
+
// Build prod (compilación AOT) y análisis del espacio usado en el bundle
|
|
117
|
+
gulp.task('sme.prod.aot', (done: any) =>
|
|
118
|
+
runSequence('build.prod.aot',
|
|
119
|
+
'build.sme.prod.aot',
|
|
120
|
+
done));
|
|
121
|
+
|
|
122
|
+
// --------------
|
|
123
|
+
// Build prod (compilación AOT y rollup) y análisis del espacio usado en el bundle
|
|
124
|
+
gulp.task('sme.prod.rollup.aot', (done: any) =>
|
|
125
|
+
runSequence('build.prod.rollup.aot',
|
|
126
|
+
'build.sme.prod.rollup.aot',
|
|
127
|
+
done));
|
|
128
|
+
|
|
129
|
+
// --------------
|
|
130
|
+
// Serve dev and wait for ENTER to rebuild
|
|
131
|
+
gulp.task('serve.dev', (done: any) =>
|
|
132
|
+
runSequence('build.dev',
|
|
133
|
+
'server.start',
|
|
134
|
+
'watch.key.press.dev',
|
|
135
|
+
done));
|
|
136
|
+
|
|
137
|
+
// --------------
|
|
138
|
+
// Serve dev and watch for file changes to rebuild
|
|
139
|
+
gulp.task('serve.watch.dev', (done: any) =>
|
|
140
|
+
runSequence('build.dev',
|
|
141
|
+
'server.start',
|
|
142
|
+
'watch.file.changes.dev',
|
|
143
|
+
done));
|
|
144
|
+
|
|
145
|
+
// --------------
|
|
146
|
+
// Serve prod
|
|
147
|
+
gulp.task('serve.prod', (done: any) =>
|
|
148
|
+
runSequence('build.prod',
|
|
149
|
+
'server.prod',
|
|
150
|
+
done));
|
|
151
|
+
|
|
152
|
+
// --------------
|
|
153
|
+
// Aux task for build process testing.
|
|
154
|
+
gulp.task('aux', (done: any) =>
|
|
155
|
+
runSequence(//'build.bundles.app',
|
|
156
|
+
'build.bundles',
|
|
157
|
+
'build.bundles.app.aot',
|
|
158
|
+
done));
|
|
159
|
+
|
|
160
|
+
// --------------
|
|
161
|
+
// Clean dev that will only run once
|
|
162
|
+
// this prevents karma watchers from being broken when directories are deleted
|
|
163
|
+
let firstRun = true;
|
|
164
|
+
gulp.task('clean.once', (done: any) => {
|
|
165
|
+
if (firstRun) {
|
|
166
|
+
firstRun = false;
|
|
167
|
+
runSequence('clean.dev', done);
|
|
168
|
+
} else {
|
|
169
|
+
log('Skipping clean on rebuild');
|
|
170
|
+
done();
|
|
171
|
+
}
|
|
172
|
+
});
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
let msurls = ["http://
|
|
1
|
+
let msurls = ["http://example.org"]
|
|
2
2
|
let request = require ("request-promise-native")
|
|
3
3
|
|
|
4
4
|
async function doRequests () {
|
|
@@ -7,4 +7,6 @@ async function doRequests () {
|
|
|
7
7
|
)
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
exports.printMsg = function() {
|
|
11
|
+
doRequests (). then (msresult => console.log (msresult))
|
|
12
|
+
}
|
package/karma.conf.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// Karma configuration
|
|
2
|
+
// Generated on Wed Jul 15 2015 09:44:02 GMT+0200 (Romance Daylight Time)
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
var argv = require('yargs').argv;
|
|
6
|
+
|
|
7
|
+
module.exports = function(config) {
|
|
8
|
+
config.set({
|
|
9
|
+
|
|
10
|
+
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
11
|
+
basePath: './',
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// frameworks to use
|
|
15
|
+
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
16
|
+
frameworks: ['jasmine'],
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// list of files / patterns to load in the browser
|
|
20
|
+
files: [
|
|
21
|
+
// Polyfills.
|
|
22
|
+
'node_modules/core-js/client/shim.min.js',
|
|
23
|
+
|
|
24
|
+
// System.js for module loading
|
|
25
|
+
'node_modules/systemjs/dist/system.src.js',
|
|
26
|
+
|
|
27
|
+
// Zone.js dependencies
|
|
28
|
+
'node_modules/zone.js/dist/zone.js',
|
|
29
|
+
'node_modules/zone.js/dist/jasmine-patch.js',
|
|
30
|
+
'node_modules/zone.js/dist/async-test.js',
|
|
31
|
+
'node_modules/zone.js/dist/fake-async-test.js',
|
|
32
|
+
|
|
33
|
+
// RxJs.
|
|
34
|
+
{ pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false },
|
|
35
|
+
{ pattern: 'node_modules/rxjs/**/*.js.map', included: false, watched: false },
|
|
36
|
+
{ pattern: 'node_modules/@angular/**/*.js.map', included: false, watched: false },
|
|
37
|
+
|
|
38
|
+
// paths loaded via module imports
|
|
39
|
+
// Angular itself
|
|
40
|
+
{ pattern: 'node_modules/@angular/**/*.js', included: false, watched: true },
|
|
41
|
+
|
|
42
|
+
{ pattern: 'dist/dev/**/*.js', included: false, watched: true },
|
|
43
|
+
{ pattern: 'dist/dev/**/*.html', included: false, watched: true, served: true },
|
|
44
|
+
{ pattern: 'dist/dev/**/*.css', included: false, watched: true, served: true },
|
|
45
|
+
{ pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: false, watched: false }, // PhantomJS2 (and possibly others) might require it
|
|
46
|
+
|
|
47
|
+
// suppress annoying 404 warnings for resources, images, etc.
|
|
48
|
+
{ pattern: 'dist/dev/assets/**/*', watched: false, included: false, served: true },
|
|
49
|
+
|
|
50
|
+
'test-main.js'
|
|
51
|
+
],
|
|
52
|
+
|
|
53
|
+
// must go along with above, suppress annoying 404 warnings.
|
|
54
|
+
proxies: {
|
|
55
|
+
'/assets/': '/base/dist/dev/assets/'
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
// list of files to exclude
|
|
59
|
+
exclude: [
|
|
60
|
+
'node_modules/**/*spec.js'
|
|
61
|
+
],
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// preprocess matching files before serving them to the browser
|
|
65
|
+
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
66
|
+
|
|
67
|
+
// test results reporter to use
|
|
68
|
+
// possible values: 'dots', 'progress'
|
|
69
|
+
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
70
|
+
reporters: ['mocha'],
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// web server port
|
|
74
|
+
port: 9876,
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// enable / disable colors in the output (reporters and logs)
|
|
78
|
+
colors: true,
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
// level of logging
|
|
82
|
+
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
83
|
+
logLevel: config.LOG_INFO,
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
// enable / disable watching file and executing tests whenever any file changes
|
|
87
|
+
autoWatch: true,
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
// start these browsers
|
|
91
|
+
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
92
|
+
browsers: [
|
|
93
|
+
'Chrome'
|
|
94
|
+
],
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
customLaunchers: {
|
|
98
|
+
Chrome_travis_ci: {
|
|
99
|
+
base: 'Chrome',
|
|
100
|
+
flags: ['--no-sandbox']
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
// Continuous Integration mode
|
|
105
|
+
// if true, Karma captures browsers, runs the tests and exits
|
|
106
|
+
singleRun: false,
|
|
107
|
+
|
|
108
|
+
// Passing command line arguments to tests
|
|
109
|
+
client: {
|
|
110
|
+
files: argv.files
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
if (process.env.APPVEYOR) {
|
|
115
|
+
config.browsers = ['IE'];
|
|
116
|
+
config.singleRun = true;
|
|
117
|
+
config.browserNoActivityTimeout = 90000; // Note: default value (10000) is not enough
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (process.env.TRAVIS || process.env.CIRCLECI) {
|
|
121
|
+
config.browsers = ['Chrome_travis_ci'];
|
|
122
|
+
config.singleRun = true;
|
|
123
|
+
}
|
|
124
|
+
};
|