2024-11-12 11:21:37 -05:00
|
|
|
{
|
|
|
|
|
"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": {
|
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-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: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",
|
2024-12-10 16:24:25 -08:00
|
|
|
"@playwright/test": "^1.49.0",
|
2024-11-12 11:21:37 -05:00
|
|
|
"concurrently": "^9.1.0",
|
2024-11-14 16:44:11 -05:00
|
|
|
"dotenv": "^16.4.5",
|
2024-11-12 11:21:37 -05:00
|
|
|
"eslint": "^8.54.0",
|
|
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
|
"eslint-plugin-n": "^16.3.1",
|
2025-02-12 12:39:16 -05:00
|
|
|
"eslint-plugin-playwright": "^2.2.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": {
|
2024-12-10 16:11:12 -05:00
|
|
|
"node": "20.* || 22.*"
|
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
|
|
|
}
|
|
|
|
|
}
|