Files
threshold-ui/e2e-tests/package.json
T

57 lines
2.3 KiB
JSON
Raw Normal View History

2024-11-12 11:21:37 -05:00
{
"name": "e2e-tests",
"version": "0.0.0",
"description": "End to end tests for boundary UI",
"author": "CyberCove LLC (fork of HashiCorp Boundary UI)",
2024-11-12 11:21:37 -05:00
"license": "BUSL-1.1",
"private": true,
"type": "module",
"scripts": {
2024-12-03 18:51:22 -05:00
"doc:toc": "doctoc README.md",
2024-11-12 11:21:37 -05:00
"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}'",
"generate:api-client": "pnpm clean:api-client && openapi-generator-cli generate -g typescript-fetch -o api-client -i ${OPENAPI_SWAGGER_URL_OR_FILE-https://raw.githubusercontent.com/hashicorp/boundary/main/internal/gen/controller.swagger.json}",
"clean:api-client": "rm -rf api-client || true",
2025-06-03 12:55:12 -04:00
"admin": "pnpm playwright test --config admin/playwright.config.js",
"admin:ce:aws": "pnpm run admin --grep \"(?=.*@ce)(?=.*@aws)\"",
"admin:ce:docker": "pnpm run admin --grep \"(?=.*@ce)(?=.*@docker)\"",
"admin:ent:aws": "pnpm run admin --grep \"(?=.*@ent)(?=.*@aws)\"",
"admin:ent:docker": "pnpm run admin --grep \"(?=.*@ent)(?=.*@docker)\"",
"admin:dev:chrome": "pnpm run admin --project=chromium --headed",
"admin:dev:firefox": "pnpm run admin --project=firefox --headed",
"admin:dev:safari": "pnpm run admin --project=webkit --headed",
"desktop": "pnpm run --filter desktop build && pnpm run desktop:dev",
"desktop:local": "SETUP_CLI=true pnpm run desktop",
2025-06-03 12:55:12 -04:00
"desktop:dev": "pnpm playwright test --config desktop/playwright.config.js --reporter=html"
2024-11-12 11:21:37 -05:00
},
"devDependencies": {
2025-04-03 09:32:44 -07:00
"@babel/core": "^7.26.10",
2024-11-12 11:21:37 -05:00
"@babel/eslint-parser": "^7.21.3",
2026-02-27 13:32:27 -05:00
"@eslint/js": "^9.18.0",
"@openapitools/openapi-generator-cli": "^2.38.0",
"@playwright/test": "^1.60.0",
"concurrently": "^10.0.3",
2024-11-14 16:44:11 -05:00
"dotenv": "^16.4.5",
2026-02-27 13:32:27 -05:00
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-playwright": "^2.2.0",
2026-02-27 13:32:27 -05:00
"globals": "^15.14.0",
"nanoid": "^5.0.9",
"prettier": "^3.0.0",
"tesseract.js": "^5.1.1"
2024-11-12 11:21:37 -05:00
},
"engines": {
2026-05-12 16:02:21 -04:00
"node": "22.* || 24.*"
2024-11-12 11:21:37 -05:00
},
"lint-staged": {
2025-02-28 14:19:35 -08:00
"*.js": [
"eslint --fix",
"prettier --write"
],
2025-02-13 17:09:10 -05:00
"*.{scss,yaml}": "prettier --write"
2024-11-12 11:21:37 -05:00
}
}