-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 3.47 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
{
"name": "gs-cypress-automation-framework",
"version": "1.0.0",
"description": "Cypress framework for the new Equity Admin Portal",
"repository": {
"type": "git",
"url": "https://bitbucket.org/globalshares/gscypressautomationframework"
},
"author": "Global Shares",
"license": "ISC",
"engines": {
"node": ">=12.22.0"
},
"scripts": {
"clean": "rm -rf ./node_modules/",
" --- CYPRESS DEV SCRIPTS ---- ": "",
"cy:open": "cypress open --e2e --browser chrome --config specPattern=cypress/integration/**/*.spec.js",
"cy:open:gateway": "cypress open --e2e --browser chrome --config specPattern=cypress/integration/gateway/**/*.spec.js",
"cy:run": "cypress run --browser chrome",
" --- CYPRESS PIPELINE SCRIPTS WITHOUT FILE RESULTS ---- ": "",
"cy:run:chrome": "cypress run --browser chrome --spec 'cypress/integration/**/*.spec.js'",
"cy:run:firefox": "cypress run --browser firefox",
"cy:run:edge": "cypress run --browser edge",
"cy:run:dashboard": "cypress run --record --key a0b2d38f-1ea0-4639-8bb7-c74bdb76591e --tag 'EA-v2'",
"cy:list:spec:by:names": "find-cypress-specs --names",
"cy:list:spec:by:tags": "find-cypress-specs --tags",
"cy:run:data:integrity": "cypress run --browser chrome --config specPattern=cypress/integration/**/*.spec.js --spec cypress/integration/dataAndEnvironmentIntegrity/dataEnvironmentIntegrity.spec.js",
"cy:run:data:warmup": "cypress run --browser chrome --config specPattern=cypress/integration/**/*.spec.js --spec cypress/integration/dataAndEnvironmentIntegrity/warmUp.spec.js",
" --- Formatting: ESLint and Prettier + Typescript compiler to support JS code ---- ": "",
"eslint": "eslint --report-unused-disable-directives --max-warnings=0 -c .eslintrc.json .",
"eslint:fix": "yarn eslint --fix",
"lint": "yarn eslint && yarn prettier:check",
"lint:fix": "yarn ts:clear && yarn eslint:fix && yarn prettier:fix",
"prettier:cli": "prettier \"**/**.{ts,js,tsx}\" \"**/**.{json,md,yml}\"",
"prettier:check": "yarn prettier:cli -l",
"prettier:fix": "yarn prettier:cli --write \"**/**.{ts,js,tsx}\" \"**/**.{json,md,yml}\"",
"ts:clear": "rm -rf dist",
"compile": "tsc && rm -rf dist",
" --- Report commands - To Be Used over the pipeline (not with yarn) ---- ": "",
"merge:results": "npx mochawesome-merge cypress/test-results/jsonResults/*.json > cypress/test-results/jsonResults/merge-results.json"
},
"keywords": [
"tests",
"js",
"cypress"
],
"devDependencies": {
"@babel/core": "7.22.1",
"@babel/eslint-parser": "7.21.8",
"cypress": "12.14.0",
"cypress-grep": "3.0.4",
"cypress-mochawesome-reporter": "3.5.0",
"cypress-multi-reporters": "1.6.3",
"cypress-otp": "1.0.3",
"cypress-plugin-snapshots": "1.4.4",
"cypress-real-events": "1.8.1",
"cypress-wait-until": "1.7.2",
"cypress-xpath": "2.0.1",
"dayjs": "1.11.8",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-cypress": "2.13.3",
"eslint-plugin-eslint-plugin": "5.1.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "4.2.1",
"find-cypress-specs": "1.34.3",
"husky": "8.0.3",
"junit-report-merger": "6.0.2",
"mocha": "10.2.0",
"mocha-junit-reporter": "2.2.0",
"mochawesome-merge": "4.3.0",
"prettier": "2.8.8",
"tsc-silent": "1.2.2",
"typescript": "5.1.3"
}
}