UNPKG

@dfinity/internet-identity-playwright

Version:

A Playwright library to simplify the integration of Internet Identity authentication in E2E tests.

69 lines (68 loc) 2.01 kB
{ "name": "@dfinity/internet-identity-playwright", "version": "0.0.5", "description": "A Playwright library to simplify the integration of Internet Identity authentication in E2E tests.", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/dfinity/internet-identity-playwright.git" }, "bugs": { "url": "https://github.com/dfinity/internet-identity-playwright" }, "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "internet computer", "internet-computer", "ic", "icp", "dfinity", "internet-identity", "ii", "playwright", "e2e", "test" ], "homepage": "https://github.com/dfinity/internet-identity-playwright#readme", "type": "module", "main": "dist/index.js", "module": "./dist/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "scripts": { "format": "prettier . --write", "format:check": "prettier --check .", "ts-declaration": "tsc --emitDeclarationOnly --outDir dist/types", "build": "tsc --noEmit && node rmdir.mjs && node esbuild.mjs && npm run ts-declaration", "lint": "eslint --max-warnings 0 \"src/**/*\"", "dev": "npm --prefix demo run dev", "e2e": "NODE_ENV=development playwright test --grep-invert 'captcha'", "e2e:ci": "playwright test --reporter=html --grep-invert 'captcha'", "e2e:captcha": "NODE_ENV=development playwright test e2e/captcha.spec", "e2e:captcha:ci": "playwright test --reporter=html e2e/captcha.spec" }, "devDependencies": { "@dfinity/eslint-config-oisy-wallet": "^0.0.6", "@types/node": "^22.13.4", "esbuild": "^0.25.0", "prettier": "^3.5.1", "prettier-plugin-organize-imports": "^4.1.0", "typescript": "^5.3.3" }, "engines": { "node": ">=22" }, "peerDependencies": { "@playwright/test": "^1.44.1" } }