-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 2.61 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
{
"devDependencies": {
"@eslint/js": "^9.39.2",
"@faker-js/faker": "^10.3.0",
"@html-eslint/eslint-plugin": "^0.61.0",
"@html-eslint/parser": "^0.61.0",
"cypress": "^15.12.0",
"cypress-image-diff-html-report": "^2.2.0",
"cypress-image-diff-js": "^2.5.0",
"cypress-mochawesome-reporter": "^4.0.2",
"cypress-on-fix": "^1.1.0",
"cypress-real-events": "^1.15.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-cypress": "^6.4.1",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.3",
"prettier": "^3.8.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"_comment": "Not sure that clean-reports below will work on Windows",
"clean-reports-and-downloads": "rm -R -f cypress/reports && rm -R -f cypress/downloads && mkdir cypress/reports && mkdir cypress/downloads",
"clean-image-diff": "rm -R -f cypress-image-diff-html-report && mkdir cypress-image-diff-html-report",
"_comment2": "Run sauce demo manually from GitHub Actions workflow",
"sauce-demo": "npx cypress run --browser chrome --record --parallel --group sauce-demo-tests --spec './cypress/tests/sauce-demo-site/*.cy.js'",
"ready-to-test": "npm run clean-reports-and-downloads && npx cypress run --browser chrome --spec ./cypress/tests/ready-to-test-github-page/readyToTestSmoke.cy.js",
"orange-demo": "npm run clean-reports-and-downloads && npx cypress run --browser chrome --spec ./cypress/tests/orange-demo-site/orangeDemoSmoke.cy.js",
"lambda-test-demo": "npm run clean-reports-and-downloads && npx cypress run --browser chrome --spec ./cypress/tests/lambda-test-demo-site/lambdaTestDemoRegistration.cy.js",
"scratch-pad": "npm run clean-reports-and-downloads && npx cypress run --browser chrome --spec ./cypress/tests/experimental-test-scripts/scratchPad.cy.js",
"visual-testing": "npm run clean-image-diff && npx cypress run --browser chrome --spec './cypress/tests/visual-testing/*.cy.js'",
"create-visual-report": "npx cypress-image-diff-html-report generate",
"start-visual-report-server": "npx cypress-image-diff-html-report start",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,cjs,htm,html}": [
"eslint --fix"
],
"_comment": "Prettier is now handled by ESLint with eslint-plugin-prettier, so prettier --write was removed."
},
"dependencies": {
"dayjs": "^1.11.20"
}
}