{ "name": "e2e", "version": "0.1.1", "private": true, "type": "module", "scripts": { "test": "playwright test", "test:smoke": "playwright test --project=smoke", "test:wallet": "playwright test --project=wallet-flows", "test:anvil": "pnpm anvil:up && playwright test --project=anvil; EXIT=$?; pnpm anvil:down; exit $EXIT", "test:get-static": "playwright test --config playwright.static-export.config.ts --project=get.status.app", "test:static-export": "playwright test --config playwright.static-export.config.ts", "test:all": "pnpm anvil:up && pnpm test:smoke && pnpm test:wallet && playwright test --project=anvil; EXIT=$?; pnpm anvil:down; exit $EXIT", "test:ci": "pnpm anvil:up && CI=true playwright test; EXIT=$?; pnpm anvil:down; exit $EXIT", "anvil:up": "ENV_FILES=''; test -f .env && ENV_FILES=\"$ENV_FILES --env-file .env\"; test -f .env.local && ENV_FILES=\"$ENV_FILES --env-file .env.local\"; docker compose $ENV_FILES -f docker-compose.anvil.yml up -d --wait", "anvil:down": "ENV_FILES=''; test -f .env && ENV_FILES=\"$ENV_FILES --env-file .env\"; test -f .env.local && ENV_FILES=\"$ENV_FILES --env-file .env.local\"; docker compose $ENV_FILES -f docker-compose.anvil.yml down", "test:headed": "playwright test --headed", "test:debug": "playwright test --debug", "test:ui": "playwright test --ui", "test:report": "playwright show-report test-results/html-report", "setup:metamask": "tsx download-metamask-extension.ts", "setup:wallet": "WXT_STATUS_API_URL=${WALLET_STATUS_API_URL:-http://localhost:3030} pnpm --filter wallet exec wxt build -b chrome --mode development", "test:wallet-onboarding": "pnpm setup:wallet && RUN_WALLET_ONBOARDING=1 playwright test --project=wallet-onboarding", "test:wallet-send": "pnpm setup:wallet && pnpm anvil:up && RUN_WALLET_E2E=1 playwright test --project=wallet-send; EXIT=$?; pnpm anvil:down; exit $EXIT", "test:wallet-swap": "pnpm setup:wallet && pnpm anvil:up && RUN_WALLET_E2E=1 playwright test --project=wallet-swap; EXIT=$?; pnpm anvil:down; exit $EXIT", "lint": "eslint src tests", "typecheck": "tsc --noEmit", "format": "prettier --write . --ignore-path .gitignore", "clean": "rimraf test-results .pw-chromium-profile .extensions" }, "devDependencies": { "@playwright/test": "^1.50.0", "@status-im/eslint-config": "workspace:*", "@types/node": "^22.0.0", "dotenv": "^16.4.7", "eslint": "^9.14.0", "globals": "^15.12.0", "prettier": "^3.3.3", "tsx": "^4.19.0", "viem": "^2.52.2" }, "lint-staged": { "*.ts": [ "eslint --fix", "prettier --write" ] }, "config": { "metamaskVersion": "13.18.1" }, "engines": { "node": "22.x" } }