{ "name": "playwright-example", "version": "1.0.0", "license": "Apache-2.0", "private": true, "description": "Playwright executable-stories example (file link to monorepo package)", "type": "module", "scripts": { "test": "node -e \"const fs=require('fs');const {execSync}=require('child_process');const p=require('path').resolve(process.cwd(),'../../packages/executable-stories-playwright/package.json');if(!fs.existsSync(p)){console.log('Skipping test: executable-stories-playwright not in workspace');process.exit(0);}execSync('playwright test',{stdio:'inherit'});\"", "report:agents": "node node_modules/executable-stories-formatters/dist/cli.js format reports/raw-run.json --format story-report-json,scenario-index-json,behavior-manifest-json --output-dir reports --output-name index", "test:report": "pnpm test && pnpm report:agents", "test:ui": "playwright test --ui", "lint": "eslint .", "type-check": "node -e \"const fs=require('fs');const {execSync}=require('child_process');const path=require('path');const pkg=path.resolve(process.cwd(),'../../packages/executable-stories-playwright');if(!fs.existsSync(path.join(pkg,'package.json'))){console.log('Skipping type-check: executable-stories-playwright not in workspace');process.exit(0);}if(!fs.existsSync(path.join(pkg,'dist/index.d.ts')))execSync('pnpm --filter executable-stories-playwright run build',{stdio:'inherit'});execSync('tsc --noEmit',{stdio:'inherit'});\"" }, "devDependencies": { "@eslint/js": "^10.0.1", "@playwright/test": "^1.64.1", "@types/node": "^26.6.6", "eslint": "^10.13.0", "eslint-config-executable-stories": "workspace:*", "eslint-config-prettier": "^10.1.8", "eslint-plugin-executable-stories-playwright": "workspace:*", "executable-stories-formatters": "workspace:*", "executable-stories-playwright": "workspace:*", "typescript": "~6.0.3", "typescript-eslint": "^8.72.1" } }