-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.69 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
{
"name": "cypress-with-patterns",
"version": "2.0.0",
"description": "Playing with Cypress and implementing patterns Page Objects and Screenplay",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"cy:open": "npx cypress open",
"cy:run": "npx cypress run",
"reports:merge": "npx mochawesome-merge ./results/reports-mochawesome/*.json -o results/reports-output/output.json",
"reports:generate": "marge -o ./results/reports-output --charts=true --autoOpen=true results/reports-output/output.json",
"reports:remove-stdout": "rm -rf results/reports-mochawesome",
"cy:report": "npm run cy:run && npm run reports:merge && npm run reports:generate && npm run reports:remove-stdout"
},
"lint-staged": {
"cypress/**/*.js": [
"eslint --ext .js",
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/thiagojacinto/cypress-with-patterns.git"
},
"keywords": [
"cypress",
"page-objects",
"screenplay",
"nodejs",
"testing"
],
"author": "Thiago Jacinto",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/thiagojacinto/cypress-with-patterns/issues"
},
"homepage": "https://github.com/thiagojacinto/cypress-with-patterns#readme",
"devDependencies": {
"cypress": "^5.3.0",
"eslint": "^6.8.0",
"husky": "^4.3.0",
"jsdoc": "^4.0.2",
"lint-staged": "^13.2.2",
"mocha": "^10.2.0",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^5.1.0",
"prettier": "^1.19.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}