Files
threshold-ui/e2e-tests/package.json
T
Zhihe Li 3b32195271 feat: 🎸 Use OCR for E2E tests when comparing terminal (#2639)
* feat: 🎸 add OCR to interpret terminal
2025-02-19 13:21:33 -05:00

50 lines
1.8 KiB
JSON

{
"name": "e2e-tests",
"version": "0.0.0",
"description": "End to end tests for boundary UI",
"author": "HashiCorp",
"license": "BUSL-1.1",
"private": true,
"type": "module",
"scripts": {
"doc:toc": "doctoc README.md",
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"format": "concurrently \"npm:format:*\" --names \"format:\"",
"format:js": "prettier --write './**/*.{js,mjs}'",
"admin": "yarn playwright test --config admin/playwright.config.js",
"admin:ce:aws": "yarn run admin --grep \"(?=.*@ce)(?=.*@aws)\"",
"admin:ce:docker": "yarn run admin --grep \"(?=.*@ce)(?=.*@docker)\"",
"admin:ent:aws": "yarn run admin --grep \"(?=.*@ent)(?=.*@aws)\"",
"admin:ent:docker": "yarn run admin --grep \"(?=.*@ent)(?=.*@docker)\"",
"admin:dev:chrome": "yarn run admin --project=chromium --headed",
"admin:dev:firefox": "yarn run admin --project=firefox --headed",
"admin:dev:safari": "yarn run admin --project=webkit --headed",
"desktop": "yarn workspace desktop build && yarn run desktop:dev",
"desktop:dev": "yarn playwright test --config desktop/playwright.config.js --reporter=html"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.21.3",
"@playwright/test": "^1.49.0",
"concurrently": "^9.1.0",
"dotenv": "^16.4.5",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-playwright": "^2.2.0",
"nanoid": "^5.0.9",
"prettier": "^3.0.0",
"tesseract.js": "^5.1.1"
},
"engines": {
"node": "20.* || 22.*"
},
"lint-staged": {
"*.js": ["eslint --fix", "prettier --write"],
"*.{scss,yaml}": "prettier --write"
}
}