2024-11-12 11:21:37 -05:00
|
|
|
{
|
|
|
|
|
"name": "e2e-tests",
|
|
|
|
|
"version": "0.0.0",
|
|
|
|
|
"description": "End to end tests for boundary UI",
|
2026-10-12 12:24:16 -07:00
|
|
|
"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}'",
|
2025-08-12 15:08:35 -07:00
|
|
|
"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",
|
2026-04-23 11:57:24 -04:00
|
|
|
"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",
|
2026-06-12 17:25:19 -04:00
|
|
|
"@openapitools/openapi-generator-cli": "^2.38.0",
|
2026-05-29 19:23:04 -04:00
|
|
|
"@playwright/test": "^1.60.0",
|
2026-06-12 17:25:19 -04:00
|
|
|
"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",
|
2025-02-12 12:39:16 -05:00
|
|
|
"eslint-plugin-playwright": "^2.2.0",
|
2026-02-27 13:32:27 -05:00
|
|
|
"globals": "^15.14.0",
|
2024-12-10 16:53:38 -05:00
|
|
|
"nanoid": "^5.0.9",
|
2025-02-19 13:21:33 -05:00
|
|
|
"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
|
|
|
}
|
|
|
|
|
}
|