-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
25 lines (25 loc) · 982 Bytes
/
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
{
"name": "cypress-mochawesome-sample",
"version": "1.0.0",
"description": "Setup for quickly starting webgui automation",
"main": "index.js",
"scripts": {
"clean-reports":"rm -rf cypress/reports; rm -rf mochawesome-report",
"test": "npx cypress run",
"merge-report": "npx mochawesome-merge cypress/reports/separate-reports/*.json > cypress/reports/full_report.json",
"generate-report": "npx mochawesome-report-generator cypress/reports cypress/reports/full_report.json",
"report:copyScreenshots": "cp -r cypress/screenshots mochawesome-report",
"after:tests": "npm run merge-report; npm run generate-report; npm run report:copyScreenshots",
"cypress": "npm run clean-reports; npm run test; npm run after:tests"
},
"author": "[email protected]",
"license": "ISC",
"devDependencies": {
"cypress": "^4.6.0"
},
"dependencies": {
"mailslurp-client": "^8.7.8",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.1.0"
}
}