-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
90 lines (90 loc) · 3.63 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "cypress-test-techniques",
"version": "1.5.0",
"description": "",
"main": "index.js",
"scripts": {
"setup": "npm install --no-optional --color-always && npm link && npm link cypress-cucumber-preprocessor && npm install through",
"build": "npm run lint && npm run stop-only",
"start": "serve --listen ${PORT:-8080}",
"types": "tsc --noEmit",
"lint": "eslint --fix cypress/**/*.js app/assets/js/scripts.js",
"test": "npx cypress run --record --key 72740ad2-0964-4da1-9bb5-634d332c269d -s 'cypress/integration/features/*.feature' -r mochawesome --reporter-options 'reportDir=cypress/report/mochawesome-report,overwrite=false,html=true,json=true,timestamp=mmddyyyy_HHMMss'",
"install": "npm install mocha mochawesome mochawesome-merge mochawesome-report-generator",
"pretest": "npm run lint && npm run types",
"stop-only": "stop-only -f cypress/integration",
"warn-only": "stop-only -f cypress/integration --warn",
"test:mochawesomereport": "cypress run -r mochawesome -s cypress/integration/features/*.feature",
"sanitytest:mochawesomereport": "cypress run -r mochawesome -s cypress/integration/features/homeOrangehrmTest.feature",
"test:allurereport": "cypress run -b chrome -r mocha-allure-reporter -s cypress/integration/features/*.feature",
"generatereport": "allure generate allure-results --clean -o allure-report && allure open allure-report",
"test:visual-base": "cypress run -b chrome --env updateSnapshots=true --spec cypress/integration/features/*VisualTest.feature",
"test:visual-actual": "cypress run -b chrome --env failOnSnapshotDiff=false --reporter cypress-image-snapshot/reporter --spec cypress/integration/features/*VisualTest.feature",
"generatecucumberreport": "node multiple-cucumber-html-reporter.js"
},
"author": "Narayanan Palani",
"license": "ISC",
"repository": {
"type": "git",
"url": "/~https://github.com/narayananpalani/cypress-test-techniques.git"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"mem": "6.0.1",
"minimist": "1.2.5",
"mochawesome-report-generator": "^4.1.0",
"npm-run-all": "4.1.2",
"serve": "11.3.2",
"through": "^2.3.8"
},
"devDependencies": {
"@bahmutov/print-env": "1.2.0",
"@typescript-eslint/eslint-plugin": "2.24.0",
"@typescript-eslint/parser": "2.24.0",
"allure-commandline": "2.0.0",
"colon-names": "1.0.0",
"cucumber-html-reporter": "^5.2.0",
"cypress": "^8.2.0",
"cypress-audit": "^0.3.0",
"cypress-axe": "^0.8.1",
"cypress-cucumber-preprocessor": "4.0.0",
"cypress-file-upload": "4.0.6",
"cypress-image-snapshot": "3.1.1",
"cypress-plugin-tab": "1.0.5",
"cypress-visual-regression": "1.4.0",
"cypress-xpath": "1.3.0",
"eslint": "^5.16.0",
"eslint-plugin-cypress": "2.8.1",
"eslint-plugin-cypress-dev": "2.1.0",
"eslint-plugin-mocha": "5.3.0",
"eslint-plugin-vue": "6.2.2",
"lambdatest-cypress-cli": "2.0.6",
"mocha": "^5.2.0",
"mocha-allure-reporter": "1.4.0",
"mocha-gherkin": "0.2.0",
"mochawesome": "^6.2.2",
"mochawesome-merge": "^2.1.0",
"multiple-cucumber-html-reporter": "^1.18.0",
"start-server-and-test": "1.10.6",
"stop-build": "1.1.0",
"stop-only": "3.1.0",
"typescript": "3.7.4",
"yaml-lint": "1.2.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run warn-only && npm run lint:yaml",
"pre-push": "npm run stop-only && npm run lint:yaml"
}
},
"cypress-cucumber-preprocessor": {
"cucumberJson": {
"generate": true,
"outputFolder": "cucumber-report/cucumber-json",
"filePrefix": "",
"fileSuffix": ""
}
}
}