-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 5.01 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 5.01 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "framework",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "playwright test",
"test:headed": "playwright test --headed",
"test:debug": "playwright test --debug",
"test:ui": "playwright test --ui",
"test:smoke": "playwright test --grep @smoke",
"test:performance": "npm run test:cura:performance && npm run test:saucedemo:performance && npm run test:orangehrm:performance",
"test:a11y": "npm run test:cura:accessibility && npm run test:saucedemo:accessibility && npm run test:orangehrm:accessibility",
"test:visual": "npm run test:cura:visual && npm run test:saucedemo:visual && npm run test:orangehrm:visual",
"test:visual:update": "npm run test:cura:visual:update && npm run test:saucedemo:visual:update && npm run test:orangehrm:visual:update",
"test:cura": "node scripts/run-app-suite.cjs --app=cura --suite=all --project=chromium",
"test:cura:auth": "node scripts/run-app-suite.cjs --app=cura --suite=auth --project=chromium",
"test:cura:smoke": "node scripts/run-app-suite.cjs --app=cura --suite=smoke --project=chromium",
"test:cura:regression": "node scripts/run-app-suite.cjs --app=cura --suite=regression --project=chromium",
"test:cura:accessibility": "node scripts/run-app-suite.cjs --app=cura --suite=accessibility --project=chromium",
"test:cura:performance": "node scripts/run-app-suite.cjs --app=cura --suite=performance --project=chromium",
"test:cura:visual": "node scripts/run-app-suite.cjs --app=cura --suite=visual --project=chromium",
"test:cura:visual:update": "node scripts/run-app-suite.cjs --app=cura --suite=visual --project=chromium --update-snapshots",
"test:saucedemo": "node scripts/run-app-suite.cjs --app=saucedemo --suite=all --project=chromium",
"test:saucedemo:auth": "node scripts/run-app-suite.cjs --app=saucedemo --suite=auth --project=chromium",
"test:saucedemo:smoke": "node scripts/run-app-suite.cjs --app=saucedemo --suite=smoke --project=chromium",
"test:saucedemo:regression": "node scripts/run-app-suite.cjs --app=saucedemo --suite=regression --project=chromium",
"test:saucedemo:accessibility": "node scripts/run-app-suite.cjs --app=saucedemo --suite=accessibility --project=chromium",
"test:saucedemo:performance": "node scripts/run-app-suite.cjs --app=saucedemo --suite=performance --project=chromium",
"test:saucedemo:visual": "node scripts/run-app-suite.cjs --app=saucedemo --suite=visual --project=chromium",
"test:saucedemo:visual:update": "node scripts/run-app-suite.cjs --app=saucedemo --suite=visual --project=chromium --update-snapshots",
"test:orangehrm": "node scripts/run-app-suite.cjs --app=orangehrm --suite=all --project=chromium",
"test:orangehrm:auth": "node scripts/run-app-suite.cjs --app=orangehrm --suite=auth --project=chromium",
"test:orangehrm:smoke": "node scripts/run-app-suite.cjs --app=orangehrm --suite=smoke --project=chromium",
"test:orangehrm:accessibility": "node scripts/run-app-suite.cjs --app=orangehrm --suite=accessibility --project=chromium",
"test:orangehrm:performance": "node scripts/run-app-suite.cjs --app=orangehrm --suite=performance --project=chromium",
"test:orangehrm:visual": "node scripts/run-app-suite.cjs --app=orangehrm --suite=visual --project=chromium",
"test:orangehrm:visual:update": "node scripts/run-app-suite.cjs --app=orangehrm --suite=visual --project=chromium --update-snapshots",
"test:shared:api": "node scripts/run-app-suite.cjs --app=local --suite=shared-api --project=chromium",
"test:local": "cross-env APP=local playwright test",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"precommit": "lint-staged",
"pre-pull": "npm run lint && npm run typecheck",
"pre-merge": "npm run lint && npm run typecheck && npm test -- --grep @smoke",
"pre-push": "npm run lint && npm run typecheck",
"ci:test": "npm test -- --reporter=html,json",
"ci:lint": "npm run lint && npm run format:check",
"format:check": "prettier --check .",
"verify-env": "powershell scripts/post-pull-checks.ps1"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"devDependencies": {
"@playwright/test": "^1.56.1",
"@types/ajv": "^0.0.5",
"@types/node": "^24.9.1",
"@types/papaparse": "^5.3.16",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"ajv": "^8.18.0",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-playwright": "^0.5.1",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"papaparse": "^5.5.3",
"prettier": "^3.0.0",
"ts-node": "^10.9.2",
"xlsx": "^0.18.5"
}
}