-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.35 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
{
"name": "cypress-automation",
"version": "1.0.0",
"description": "Cypress Automation Project",
"type": "module",
"scripts": {
"test": "cypress run --headed",
"cypress": "cypress open",
"test:headless": "cypress run",
"test:chrome": "cypress run --browser chrome",
"test:edge": "cypress run --browser edge",
"test:electron": "cypress run --browser electron",
"lint": "eslint .",
"prepare": "husky install",
"pre-commit": "lint-staged",
"format": "prettier --write .",
"merge-reports": "mochawesome-merge cypress/results/*.json > cypress/results/output.json",
"generate-report": "marge cypress/results/output.json -f report -o cypress/results",
"test:report": "npm run test && npm run merge-reports && npm run generate-report",
"lint-staged": "lint-staged"
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.5",
"cypress": "^13.15.2",
"cypress-real-events": "^1.13.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0",
"prettier": "^3.3.3"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
}
}