This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
forked from os2kitos/kitos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.config.js
85 lines (77 loc) · 3.34 KB
/
paths.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
"use strict";
var source = "Presentation.Web",
typescriptOutput = source + "/typescriptOutput",
typescriptOutputApp = typescriptOutput + "/app",
typescriptOutputAppReport = typescriptOutput + "/appReport",
sourceApp = source + "/app",
sourceAppReport = source + "/appReport",
sourceScript = source + "/Scripts",
allJavaScript = [sourceApp + "/app.js", sourceApp + "/**/*.module.js" ,sourceApp + "/**/*.js"],
allJavaScriptNoTests = [sourceApp + "/app.js", sourceApp + "/**/*.module.js", sourceApp + "/**/!(*.spec|*.po).js"],
appTypeScriptOut = [typescriptOutputApp + "/app.js", typescriptOutputApp + "/**/*.module.js", typescriptOutputApp + "/**/!(*.spec|*.po).js"],
appReportTypeScriptOut = typescriptOutput + "/appReport",
bowerComponents = "bower_components",
appMaps = sourceApp + "/**/*.js.map",
appJavaScript = [typescriptOutput + "/app.js", sourceApp + "/**/*.module.js", sourceApp + "/**/!(*.spec|*.po).js"],
// dependency files of files to unit test
unitDependencies = [
"bower_components/lodash/lodash.js",
"bower_components/jquery/dist/jquery.js",
"bower_components/moment/moment.js",
"bower_components/jsonfn-bower/jsonfn.js",
"bower_components/angular/angular.js",
"bower_components/angular-i18n/angular-locale_da-dk.js",
"bower_components/angular-animate/angular-animate.js",
"bower_components/angular-sanitize/angular-sanitize.js",
"bower_components/angular-mocks/angular-mocks.js",
"bower_components/angular-ui-router/release/angular-ui-router.js",
"bower_components/angular-bootstrap/ui-bootstrap.js",
"bower_components/angular-bootstrap/ui-bootstrap-tpls.js",
"bower_components/angular-ui-select/dist/select.js"
],
// unit
karmaConf = __dirname + "/karma.conf.js",
unitSource = [
sourceApp + "/shared/notify/notify.module.js",
sourceApp + "/app.js",
sourceApp + "/**/!(*.po|*.spec).js",
sourceApp + "/**/*.spec.js"
],
unit = unitDependencies.concat(unitSource),
// e2e
e2eFiles = source + "/Tests/**/*.e2e.spec.js",
e2eSuites = {
home: source + "/Tests/home.e2e.spec.js",
itProject: source + "/Tests/ItProject/**/*e2e.spec.js",
itSystem: source + "/Tests/it-system/**/*e2e.spec.js",
itContract: source + "/Tests/it-contract/**/*e2e.spec.js"
},
e2eReport = "results-protractor",
// coverage
coverage = "coverage",
frontendCoverageReport = "frontend.json",
tempFrontendCoverageReport = "temp-coverage.json",
tempFiles = [e2eReport + ".json", coverage];
module.exports = {
source: source,
sourceApp: sourceApp,
appMaps: appMaps,
sourceScript: sourceScript,
allJavaScript: allJavaScript,
allJavaScriptNoTests: allJavaScriptNoTests,
typescriptOutput: typescriptOutput,
appTypeScriptOut: appTypeScriptOut,
typescriptOutputAppReport: typescriptOutputAppReport,
appReportTypeScriptOut: appReportTypeScriptOut,
sourceAppReport: sourceAppReport,
bowerComponents: bowerComponents,
unit: unit,
e2eFiles: e2eFiles,
e2eSuites: e2eSuites,
e2eReport: e2eReport,
karmaConf: karmaConf,
coverage: coverage,
frontendCoverageReport: frontendCoverageReport,
tempFrontendCoverageReport: tempFrontendCoverageReport,
tempFiles: tempFiles
};