-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.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
{
"name": "cypress-page-object-framework",
"version": "1.0.0",
"description": "Cypress page object automation framework",
"main": "index.js",
"scripts": {
"cypress:open": "cypress open",
"clean:reports": "rm -R -f cypress/reports && mkdir cypress/reports && mkdir cypress/reports/mochareports",
"pretest": "npm run clean:reports",
"scripts": "cypress run",
"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"
},
"author": "Ashish Singh",
"license": "ISC",
"devDependencies": {
"cypress": "^4.12.1",
"cypress-multi-reporters": "^1.4.0",
"cypress-xpath": "^1.6.0",
"mocha": "^8.1.1",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "^5.1.0"
}
}