-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.44 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
{
"devDependencies": {
"@cypress/code-coverage": "^3.13.11",
"@faker-js/faker": "^9.4.0",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"cypress": "^14.0.1",
"eslint": "^8.56.0",
"eslint-plugin-cypress": "^2.15.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0",
"prettier": "^3.2.2",
"typescript": "^5.7.3"
},
"scripts": {
"cy:update": "npm install cypress@latest",
"cy:open": "cypress open",
"cy:run": "cypress run --reporter mochawesome --reporter-options reportDir=cypress/reports,overwrite=true,html=true",
"prepare": "husky install",
"lint": "eslint . --ext .ts,.js",
"lint:fix": "eslint . --ext .ts,.js --fix",
"format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\"",
"check:format": "prettier --check .",
"check:all": "npm run lint && npm run format",
"merge:reports": "node merge-reports.js",
"generate:report": "npx mochawesome-report-generator cypress/reports/index.json --reportDir cypress/reports --reportFilename index.html",
"test": "npm run cy:run && npm run merge:reports && npm run generate:report"
},
"lint-staged": {
"*.{js,ts,json,md,yml,yaml}": "prettier --write",
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
},
"type": "module"
}