-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
48 lines (48 loc) · 2.02 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
{
"name": "cypress-poc",
"version": "1.0.0",
"private": true,
"description": "Cypress POC for UI Automation.",
"scripts": {
"clean:temp": "del-cli cypress/support/temp.json",
"clean:reports": "IF EXIST cypress\\reports (rmdir /S /Q cypress\\reports && mkdir cypress\\reports && mkdir cypress\\reports\\mocha && mkdir cypress\\reports\\mochareports\\) ELSE (mkdir cypress\\reports && mkdir cypress\\reports\\mocha && mkdir cypress\\reports\\mochareports\\)",
"pretest": "npm run clean:reports && npm run clean:temp",
"scripts": "cypress run",
"scripts:hotfix": "cypress run --config-file cypress.hotfix.json",
"scripts:stage": "cypress run --config-file cypress.stage.json",
"combine-reports": "mochawesome-merge cypress/reports/mocha/*.json > cypress/reports/mochareports/report.json",
"generate-report": "marge cypress/reports/mochareports/report.json -f report -o cypress/reports/mochareports",
"posttest": "npm run combine-reports && npm run generate-report",
"test": "npm run scripts || npm run posttest",
"test:hotfix": "npm run scripts:hotfix || npm run posttest",
"test:stage": "npm run scripts:stage || npm run posttest",
"cypress:open": "cypress open",
"cypress:open:hotfix": "cypress open --config-file cypress.hotfix.json",
"cypress:open:stage": "cypress open --config-file cypress.stage.json"
},
"keywords": [
"Cypress",
"JavaScript",
"TypeScript",
"UI Automation"
],
"author": "Raj Kumar",
"license": "MIT",
"devDependencies": {
"codelyzer": "^6.0.0",
"cypress": "^4.11.0",
"cypress-multi-reporters": "1.4.0",
"del-cli": "3.0.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^5.1.0",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.2",
"mocha": "8.0.1",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "5.1.0"
},
"repository": "https://github.com/SinghRajKr/CypressJs.git"
}