58 lines
2.3 KiB
JSON
58 lines
2.3 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}'",
|
|
"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",
|
|
"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",
|
|
"desktop:dev": "pnpm playwright test --config desktop/playwright.config.js --reporter=html"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.10",
|
|
"@babel/eslint-parser": "^7.21.3",
|
|
"@eslint/js": "^9.18.0",
|
|
"@openapitools/openapi-generator-cli": "^2.38.0",
|
|
"@playwright/test": "^1.60.0",
|
|
"concurrently": "^10.0.3",
|
|
"dotenv": "^16.4.5",
|
|
"eslint": "^9.18.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-playwright": "^2.2.0",
|
|
"globals": "^15.14.0",
|
|
"nanoid": "^5.0.9",
|
|
"prettier": "^3.0.0",
|
|
"tesseract.js": "^5.1.1"
|
|
},
|
|
"engines": {
|
|
"node": "22.* || 24.*"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{scss,yaml}": "prettier --write"
|
|
}
|
|
}
|