test Cypress pour EMIL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
cypress-emil/package.json

47 lines
1.8 KiB

{
"name": "seed-apside-test-automation",
"version": "0.0.1",
"private": true,
"scripts": {
"report:combine:reports": "mochawesome-merge cypress/reports/mocha/*.json > cypress/reports/output.json",
"report:generate:report": "marge cypress/reports/output.json -f output -o mocha_reports/",
"report:copyScreenshots": "cp -r cypress/screenshots mocha_reports || exit 0",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:open:dev": "cypress open --env configFile=dev",
"cypress:run:dev": "cypress run --env configFile=dev || exit 0",
"precypress:open:dev": "rm -rf cypress/screenshots/* || exit 0",
"precypress:run:dev": "rm -rf cypress/screenshots cypress/reports/* mocha_reports/*",
"generate:report:dev": "npm run cypress:run:dev & npm run report:combine:reports & npm run report:generate:report & npm run report:copyScreenshots"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.8.1",
"@testdeck/mocha": "^0.1.0",
"@types/classnames": "~2.2.10",
"@types/mocha": "^8.0.3",
"@types/node": "~12.0.10",
"cypress": "^5.2.0",
"cypress-multi-reporters": "^1.4.0",
"faker": "~4.1.0",
"mocha": "^8.1.3",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "^5.1.0",
"tslint": "~5.18.0",
"tslint-react": "~4.2.0",
"typescript": "3.8.3",
"typescript-tslint-plugin": "~0.5.5"
}
}