109 lines
3.5 KiB
JSON
109 lines
3.5 KiB
JSON
{
|
|
"name": "@suaveplan/testing-e2e",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Stealth Playwright E2E utilities backed by cloakbrowser — config factory, page objects, fixtures, helpers, structured errors. Drop-in browser-launch swap that passes Cloudflare Turnstile, reCAPTCHA v3, FingerprintJS. Layer 0; no @suaveplan/* runtime deps",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./config": {
|
|
"types": "./dist/config/create-playwright-config.d.ts",
|
|
"default": "./dist/config/create-playwright-config.js"
|
|
},
|
|
"./errors": {
|
|
"types": "./dist/errors/index.d.ts",
|
|
"default": "./dist/errors/index.js"
|
|
},
|
|
"./helpers": {
|
|
"types": "./dist/helpers/index.d.ts",
|
|
"default": "./dist/helpers/index.js"
|
|
},
|
|
"./page-objects": {
|
|
"types": "./dist/page-objects/page-object.d.ts",
|
|
"default": "./dist/page-objects/page-object.js"
|
|
},
|
|
"./fixtures": {
|
|
"types": "./dist/fixtures/extended-test.d.ts",
|
|
"default": "./dist/fixtures/extended-test.js"
|
|
},
|
|
"./multi-session": {
|
|
"types": "./dist/multi-session/index.d.ts",
|
|
"default": "./dist/multi-session/index.js"
|
|
},
|
|
"./console-monitor": {
|
|
"types": "./dist/console-monitor/index.d.ts",
|
|
"default": "./dist/console-monitor/index.js"
|
|
},
|
|
"./network-monitor": {
|
|
"types": "./dist/network-monitor/index.d.ts",
|
|
"default": "./dist/network-monitor/index.js"
|
|
},
|
|
"./extension-fixture": {
|
|
"types": "./dist/extension-fixture/index.d.ts",
|
|
"default": "./dist/extension-fixture/index.js"
|
|
},
|
|
"./cloakserve": {
|
|
"types": "./dist/cloakserve/index.d.ts",
|
|
"default": "./dist/cloakserve/index.js"
|
|
},
|
|
"./presets": {
|
|
"types": "./dist/presets/index.d.ts",
|
|
"default": "./dist/presets/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"@playwright/test": "catalog:testing",
|
|
"cloakbrowser": "catalog:testing",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"fast-check": "catalog:testing",
|
|
"happy-dom": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md"
|
|
]
|
|
}
|