-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.14 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 2.14 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
{
"name": "qe_test-task",
"version": "1.0.0",
"description": "qe_test-task resolution including code part for automation",
"main": "index.js",
"scripts": {
"clean": "rm -rf ./node_modules/",
" --- CYPRESS ---- ": "",
"cy:open": "cypress open",
"test:all": "cypress run --browser chrome",
"test:ui": "cypress run --browser chrome --spec 'cypress/tests/ui/**cy.js'",
"test:ui:headless": "cypress run --browser chrome --headless --spec 'cypress/tests/ui/**cy.js'",
"test:api": "cypress run --spec 'cypress/tests/api/**cy.js'",
"test:ui:headless:mocha": "yarn cy:clean:reports; cypress run --browser chrome --headless --spec 'cypress/tests/ui/**cy.js'; yarn cy:reports",
"test:api:mocha": "yarn cy:clean:reports; cypress run --spec 'cypress/tests/api/**cy.js'; yarn cy:reports",
" --- TESTS REPORT ---- ": "",
"cy:reports": "yarn cy:merge:reports; yarn cy:final:reports",
"cy:clean:reports": "rm -rf cypress/reports/*",
"cy:merge:reports": "mochawesome-merge cypress/reports/*.json > cypress/reports/output.json",
"cy:final:reports": "marge cypress/reports/output.json --reportDir cypress/reports/",
" --- LINTERS ---- ": "",
"eslint": "eslint --report-unused-disable-directives --max-warnings=0 -c .eslintrc.json .",
"eslint:fix": "eslint --fix",
"lint": "yarn eslint && yarn prettier:check",
"lint:fix": "yarn eslint:fix && yarn prettier:fix",
"prettier:cli": "prettier \"**/*.js\"",
"prettier:check": "yarn prettier:cli -l",
"prettier:fix": "yarn prettier:cli --write",
"prepare": "husky install"
},
"keywords": [
"qa",
"js",
"cypress"
],
"author": "William Oliveira",
"license": "ISC",
"dependencies": {
"nvm": "^0.0.4",
"yarn": "^1.22.19"
},
"devDependencies": {
"@testing-library/cypress": "^8.0.3",
"cypress": "10.1.0",
"cypress-iframe": "^1.0.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"mocha": "^10.0.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.2.1",
"prettier": "^2.6.2"
}
}