-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
112 lines (112 loc) · 10.9 KB
/
package.json
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "MADiE-Cypress",
"version": "1.0.0",
"description": "Cypress project for MADiE",
"scripts": {
"cypress:open": "cypress open --e2e -b chrome",
"cypress:open:dev": "cypress open --env configFile=dev --e2e -b chrome",
"cypress:open:test": "cypress open --env configFile=test --e2e -b chrome",
"cypress:open:impl": "cypress open --env configFile=impl --e2e -b chrome",
"cypress:run": "cypress run --spec 'cypress/e2e/**/*'",
"compile": "tsc --noEmit",
"combine:reports": "npx mochawesome-merge 'cypress/results/*.json' > mochawesome.json",
"generateOne:report": "npx marge mochawesome.json",
"delete:mochawesome": "rm mochawesome.json",
"delete:reports": "rm -f cypress/results/*.json",
"impl:all:tests": "NO_COLOR=1 cypress run --env configFile=impl --spec 'cypress/e2e/**/*.cy.ts' --browser chrome --headed;",
"impl:all:ui:tests": "NO_COLOR=1 cypress run --env configFile=impl --spec 'cypress/e2e/WebInterface/**/*.cy.ts' --browser chrome --headed;",
"impl:all:services:tests": "NO_COLOR=1 cypress run --env configFile=impl --spec 'cypress/e2e/Services/**/*.cy.ts' --browser chrome --headed;",
"impl:ui:smoketests": "NO_COLOR=1 cypress run --env configFile=impl --spec 'cypress/e2e/WebInterface/Smoke Tests/**/*' --browser chrome --headed;",
"test:all:tests": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/**/*.cy.ts' --browser chrome --headed;",
"test:all:ui:tests": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/WebInterface/**/*.cy.ts' --browser chrome --headed;",
"test:all:services:tests": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/Services/**/*.cy.ts' --browser chrome --headed;",
"test:services:measureservice:testcaseexport": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/Services/Measure Service/TestCaseExport.cy.ts' --browser chrome --headed;",
"test:services:measureservice:measureversion": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/Services/Measure Service/MeasureVersion.cy.ts' --browser chrome --headed;",
"test:ui:smoketests": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/WebInterface/Smoke Tests/**/*' --browser chrome --headed;",
"test:ui:cqllibrary:cqllibrarydelete": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/WebInterface/CQL Library/CQLLibraryDelete.cy.ts' --browser chrome --headed;",
"test:ui:smoketests:endtoend:cohortepisodeencounter": "NO_COLOR=1 cypress run --env configFile=test --spec 'cypress/e2e/WebInterface/Smoke Tests/QICORE End To End Measure and Test Cases/CohortEpisodeEncounter.cy.ts' --browser chrome --headed;",
"dev:all:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/**/*.cy.ts' --browser chrome --headed;",
"dev:ui:testCases:testCasePopulationValues": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/Test Cases/TestCasePopulationValues.cy.ts' --browser chrome --headed;",
"dev:ui:testCases": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/Test Cases/**/*.cy.ts' --browser chrome --headed;",
"dev:ui:cqllibrary:versionAndDraft": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/CQL Library/VersionAndDraft/**/*.cy.ts' --browser chrome --headed;",
"dev:ui:cqllibrary:cqlEditor": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/CQL Library/CQL Editor/**/*.cy.ts' --browser chrome --headed;",
"dev:ui:smoketests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/Smoke Tests/**/*' --browser chrome --headed;",
"dev:all:ui:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/**/*.cy.ts' --browser chrome --headed;",
"dev:ui:measure:qicoreCqlEditor": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/Measure/QI Core CQL Editor/**/*.cy.ts' --browser chrome --headed;",
"dev:measure:editMeasure:ui:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/WebInterface/Measure/EditMeasure/**/*.cy.ts' --browser chrome --headed;",
"dev:all:services:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/**/*.cy.ts' --browser chrome --headed;",
"dev:services:measureService:tests": "NO_COLOR=1 NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/Measure Service/**/*.cy.ts' --browser chrome --headed;",
"dev:all:measure:service:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/Measure Service/**/*.cy.ts' --browser chrome --headed;",
"dev:services:cqlLibrariesService:tests": "NO_COLOR=1 NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/CQL Library Service/**/*.cy.ts' --browser chrome --headed;",
"dev:services:cqlTranslatorService:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/CQL Translator Service/**/*.cy.ts' --browser chrome --headed;",
"dev:services:terminologyService:tests": "NO_COLOR=1 cypress run --env configFile=dev --spec 'cypress/e2e/Services/Terminology Service/**/*.cy.ts' --browser chrome --headed;",
"dev:all:ui:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:all:ui:tests; npm run combine:reports; npm run generateOne:report",
"dev:ui:measure:qicoreCqlEditor:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:ui:measure:qicoreCqlEditor; npm run combine:reports; npm run generateOne:report",
"dev:ui:cqllibrary:cqlEditor:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:ui:cqllibrary:cqlEditor; npm run combine:reports; npm run generateOne:report",
"dev:ui:cqllibrary:versionAndDraft:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:ui:cqllibrary:versionAndDraft; npm run combine:reports; npm run generateOne:report",
"dev:services:cqlLibrariesService:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:services:cqlLibrariesService:tests; npm run combine:reports; npm run generateOne:report",
"dev:ui:smoketests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:ui:smoketests; npm run combine:reports; npm run generateOne:report",
"dev:all:services:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:all:services:tests; npm run combine:reports; npm run generateOne:report",
"dev:all:measure:service:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:all:measure:service:tests; npm run combine:reports; npm run generateOne:report",
"dev:ui:testCases:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:ui:testCases; npm run combine:reports; npm run generateOne:report",
"dev:all:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run dev:all:tests; npm run combine:reports; npm run generateOne:report",
"test:all:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run test:all:tests; npm run combine:reports; npm run generateOne:report",
"test:all:ui:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run test:all:ui:tests; npm run combine:reports; npm run generateOne:report",
"test:all:services:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run test:all:services:tests; npm run combine:reports; npm run generateOne:report",
"test:ui:smoketests:report": "npm run delete:reports; npm run delete:mochawesome; npm run test:ui:smoketests; npm run combine:reports; npm run generateOne:report",
"impl:all:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run impl:all:tests; npm run combine:reports; npm run generateOne:report",
"impl:all:ui:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run impl:all:ui:tests; npm run combine:reports; npm run generateOne:report",
"impl:all:services:tests:report": "npm run delete:reports; npm run delete:mochawesome; npm run impl:all:services:tests; npm run combine:reports; npm run generateOne:report",
"impl:ui:smoketests:report": "npm run delete:reports; npm run delete:mochawesome; npm run impl:ui:smoketests; npm run combine:reports; npm run generateOne:report",
"windows:delete:mochawesome": "del mochawesome.json",
"windows:delete:reports": "del .\\cypress\\results\\*.json",
"windows:cypress:run": "cypress run --env configFile=dev --spec .\\cypress\\e2e\\**\\*",
"windows:combine:reports": "npx mochawesome-merge '.\\cypress\\results\\*.json' > mochawesome.json",
"windows:test:all:tests": "cypress run --env configFile=test --spec 'cypress\\e2e\\**\\*.cy.ts' --browser chrome --headed;",
"windows::test:all:ui:tests": "cypress run --env configFile=test --spec 'cypress\\e2e\\WebInterface\\**\\*.cy.ts' --browser chrome --headed;",
"windows:dev:all:tests": "cypress run --reporter mochawesome npm run windows:delete:reports; npm run windows:delete:mochawesome; --env configFile=dev --spec '.\\cypress\\e2e\\**\\*.cy.ts' --headed --browser chrome npm run windows:combine:reports; npm run generateOne:report",
"windows:dev:all:ui:tests": "cypress run --env configFile=dev --spec '.\\cypress\\e2e\\WebInterface\\**\\*.cy.ts' --browser chrome --headed",
"windows:dev:all:services:tests": "cypress run --env configFile=dev --spec '.\\cypress\\e2e\\Services\\**\\*.cy.ts' --browser chrome --headed;",
"windows:dev:all:measure:service:tests": "cypress run --env configFile=dev --spec '.\\cypress\\e2e\\Services\\Measure Service\\**\\*.cy.ts' --browser chrome --headed;",
"windows:dev:all:tests:report": "npm run windows:delete:reports; npm run windows:delete:mochawesome; npm run windows:dev:all:tests; npm run wiindows:combine:reports; npm run generateOne:report",
"windows:test:all:tests:report": "npm run windows:delete:reports; npm run windows:delete:mochawesome; npm run windows:test:all:tests; npm run windows:combine:reports; npm run generateOne:report"
},
"devDependencies": {
"@cypress-audit/lighthouse": "^1.4.2",
"@cypress-audit/pa11y": "^1.4.2",
"@cypress/browserify-preprocessor": "^3.0.2",
"@types/node": "^12.20.27",
"axe-core": "^4.3.3",
"cypress": "^13.14.2",
"cypress-audit": "^1.0.0",
"cypress-axe": "^1.3.0",
"cypress-commands": "^1.1.0",
"cypress-delete-downloads-folder": "^0.0.6",
"cypress-file-upload": "^5.0.8",
"cypress-visual-regression": "^1.5.2",
"lighthouse": "^12.2.1",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.2.0",
"mongodb": "^3.7.4",
"node-xlsx": "^0.24.0",
"npm": "^10.2.4",
"tsify": "^5.0.2",
"typescript": "^4.1.3"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"dependencies": {
"adm-zip": "^0.5.16",
"convert": "^5.5.1",
"decompress": "^4.2.1",
"excel-to-json": "^1.0.0",
"fs-extra": "^11.2.0",
"node": "^18.17.0",
"node-stream-zip": "^1.15.0",
"unzipper": "^0.12.3",
"uuid": "^7.0.3",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
}
}