-
Notifications
You must be signed in to change notification settings - Fork 3
/
paths.config.js
51 lines (45 loc) · 1.92 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
"use strict";
var source = "Presentation.Web",
typescriptOutput = source + "/typescriptOutput",
typescriptOutputApp = typescriptOutput + "/app",
sourceApp = source + "/app",
sourceTest = source + "/Tests",
sourceScript = source + "/Scripts",
sourceContent = source + "/Content",
allTestJavaScript = [sourceTest + "/**/*.js", sourceTest + "/**/*.js.map"],
allJavaScript = [sourceApp + "/app.js", sourceApp + "/**/*.module.js", sourceApp + "/**/!(tinyMCE_lang_da).js"],
allJavaScriptNoTests = [sourceApp + "/app.js", sourceApp + "/**/*.module.js", sourceApp + "/**/!(*.spec|*.po|*tinyMCE_lang_da).js"],
appTypeScriptOut = [typescriptOutputApp + "/app.js", typescriptOutputApp + "/**/*.module.js", typescriptOutputApp + "/**/!(*.spec|*.po).js"],
appMaps = sourceApp + "/**/*.js.map",
npm = "node_modules",
// e2e
e2eFiles = source + "/Tests/**/*.e2e.spec.js",
e2eParallelFiles = source + "/Tests/01_Parallel/**/*.e2e.spec.js",
e2eSequentialFiles = source + "/Tests/02_Sequential/**/*.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,
sourceContent: sourceContent,
allJavaScript: allJavaScript,
allJavaScriptNoTests: allJavaScriptNoTests,
allTestJavaScript: allTestJavaScript,
typescriptOutput: typescriptOutput,
appTypeScriptOut: appTypeScriptOut,
e2eFiles: e2eFiles,
e2eParallelFiles: e2eParallelFiles,
e2eSequentialFiles: e2eSequentialFiles,
e2eReport: e2eReport,
coverage: coverage,
frontendCoverageReport: frontendCoverageReport,
tempFrontendCoverageReport: tempFrontendCoverageReport,
tempFiles: tempFiles,
npm: npm
};