-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.08 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
{
"name": "cypressjavascript",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "cypress open",
"cypress:run:chrome": "cypress run --browser chrome",
"cypress:run:edge": "cypress run --browser edge",
"cypress:run:firefox": "cypress run --browser firefox",
"cy:run": "cypress run --env allure=true",
"allure:report": "allure generate allure-results --clean -o allure-report",
"allure:clear": "if exist allure-results rmdir /q /s allure-results && if exist allure-report rmdir /q /s allure-report && if exist cypress\\screenshots rmdir /q /s cypress\\screenshots && if exist cypress\\videos rmdir /q /s cypress\\videos",
"pretest": "npm run allure:clear",
"test:allure": "npm run cy:run || npm run posttest",
"posttest": "npm run allure:report"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cypress": "^8.7.0",
"cypress-mochawesome-reporter": "^2.3.0",
"cypress-xpath": "^1.6.2"
},
"dependencies": {
"@shelex/cypress-allure-plugin": "^2.22.1",
"allure-commandline": "^2.13.8"
}
}