-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
42 lines (42 loc) · 1.43 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
{
"name": "cypress-template",
"version": "1.0.0",
"description": "Cypress Template Framework",
"main": "index.js",
"author": "Abel Trejo Pineda",
"license": "ISC",
"dependencies": {
"@bahmutov/cy-api": "^1.6.1",
"dayjs": "^1.10.6",
"mocha": "^9.1.3",
"mochawesome": "^7.0.1",
"mochawesome-merge": "^4.2.0"
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^12.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.1.3",
"cypress": "^10.6.0",
"cypress-multi-reporters": "^1.6.1"
},
"cypress-cucumber-preprocessor": {
"stepDefinitions": [
"cypress/e2e/[filepath]/**/*.{js,ts}",
"cypress/e2e/[filepath].{js,ts}",
"cypress/support/step_definitions/**/*.{js,ts}"
],
"messages": {
"enabled": true,
"output": "cypress/results/reports/cucumber_json/cucumber-messages.ndjson"
},
"json": {
"formatter": "cypress/config/cucumber_json/cucumber-json-formatter",
"enabled": true,
"output": "cypress/results/reports/cucumber_json/cypress-cucumber.json"
}
},
"scripts": {
"mocha-merge": "mochawesome-merge ./cypress/report/mochawesome_reports/*.json -o cypress/report/mochawesome_complete/complete-report.json",
"mocha-marge": "marge cypress/report/mochawesome_complete/complete-report.json -f complete-report -o cypress/report/mochawesome_complete",
"awesome-report": "npm run mocha-merge && npm run mocha-marge"
}
}