-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.75 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.75 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "cypress-test-software",
"version": "1.0.0",
"description": "Cypress automation project",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"lint": "npx standard",
"lint:fix": "npx standard --fix",
"clean": "rimraf dist/* && npm run delete:reports",
"build": "npm run clean && tsc",
"cy:run": "cypress run",
"delete:reports": "del mochawesome.json || true && del-cli --force runner-results && del-cli --force cypress/results/ && del-cli --force rm mochawesome-report/",
"report:make": "yarn build && npx cypress run --browser=chrome --config-file config/cypress.config.js --reporter mochawesome --reporter-options reportDir=cypress/results,overwrite=false,html=false,json=true",
"report:merge": "npx mochawesome-merge cypress/results/*.json > mochawesome.json",
"report:build": "npm run report:make && npm run report:merge && npx marge mochawesome.json",
"cpConfig": "cp -f 'config/cypress.config.js' 'cypress.config.js'",
"test": "yarn build && npx cypress run --browser=chrome --config-file config/cypress.config.js",
"test:smoke": "npm run test --env grepTags=@smoke",
"test:parallel": "npm run cpConfig && yarn build && npx cypress-parallel -s cy:run -t 3 -d cypress/e2e/ -a '--browser=chrome'",
"test:cucumber": "npm run delete:cucumber:report && yarn build && npx cypress run --browser=chrome --config-file config/cypress.cucumber.config.js",
"test:report": "npm run delete:reports && npm run report:build",
"delete:cucumber:report": "del-cli --force cypress/cucumber-report/",
"test:cucumber:report": "npm run test:cucumber && node cucumber.cypress.report.js"
},
"keywords": [
"test",
"cypress",
"automation"
],
"author": "Leonides Fernando de Oliveira",
"license": "MIT",
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^18.0.1",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
"@cypress/grep": "^3.1.5",
"@faker-js/faker": "^7.3.0",
"cypress": "^13.0.2",
"cypress-selectors": "^1.0.2",
"del-cli": "^5.0.1",
"esbuild": "^0.18.6",
"mocha-junit-reporter": "^2.2.0",
"mochawesome": "^7.1.3",
"multiple-cucumber-html-reporter": "^3.4.0"
},
"dependencies": {
"cosmiconfig": "^7.0.1",
"cypress-multi-reporters": "^1.6.3",
"cypress-parallel": "^0.13.0",
"dayjs": "^1.11.8",
"rimraf": "^3.0.2"
},
"cypress-cucumber-preprocessor": {
"stepDefinitions": "cypress/e2e/features/step_definitions/**/*.js",
"json": {
"enabled": true,
"formatter": ".bin/cucumber-json-formatter",
"output": "cypress/cucumber-report/json/cucumber-report.json"
},
"messages": {
"enabled": true,
"output": "cypress/cucumber-report/messages/cucumber-messages.ndjson"
}
}
}