46 lines
1.7 KiB
JSON
46 lines
1.7 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": {
|
|
"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.43.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",
|
|
"prettier": "^3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "18.* || 20.*"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint --fix",
|
|
"*.{js,scss,yaml}": "prettier --write"
|
|
}
|
|
}
|