| 5 | "type": "module", |
| 6 | "packageManager": "pnpm@12.10.1", |
| 7 | "scripts": { |
| 8 | "dev": "corepack pnpm -C apps/web dev", |
| 9 | "build": "corepack pnpm -C apps/web build", |
| 10 | "typecheck": "corepack pnpm -r typecheck && tsc --noEmit", |
| 11 | "canary": "tsx tests/canary-server.ts", |
| 12 | "test:attacks": "playwright test tests/attacks.spec.ts", |
| 13 | "test:compat": "playwright test tests/compat.spec.ts", |
| 14 | "test:generated": "playwright test tests/generated.spec.ts", |
| 15 | "test:htmlbubbles": "CORPUS_GROUP=htmlbubbles-ported playwright test tests/generated.spec.ts", |
| 16 | "test:common": "CORPUS_GROUP=common playwright test tests/generated.spec.ts", |
| 17 | "test:showcase": "CORPUS_GROUP=showcase playwright test tests/generated.spec.ts", |
| 18 | "test:defaults": "CORPUS_GROUP=defaults playwright test tests/generated.spec.ts", |
| 19 | "test:gesture-corpus": "CORPUS_GROUP=gestures playwright test tests/generated.spec.ts", |
| 20 | "test:resize-corpus": "CORPUS_GROUP=resize playwright test tests/generated.spec.ts", |
| 21 | "test:safe-area-corpus": "CORPUS_GROUP=safe-area playwright test tests/generated.spec.ts", |
| 22 | "test:lifecycle": "playwright test tests/lifecycle.spec.ts", |
| 23 | "test:activation": "playwright test tests/activation.spec.ts", |
| 24 | "test:sdk": "playwright test tests/sdk.spec.ts", |
| 25 | "test:gestures": "playwright test tests/gestures.spec.ts", |
| 26 | "test:unit": "corepack pnpm -r test:unit", |
| 27 | "generate-corpus": "tsx scripts/generate-corpus.ts", |
| 28 | "build:ios": "corepack pnpm -C packages/core build:native ios && corepack pnpm exec tsx scripts/sync-demo-corpus.ts ios", |
| 29 | "build:macos": "corepack pnpm -C packages/core build:native macos && corepack pnpm exec tsx scripts/sync-demo-corpus.ts macos", |
| 30 | "build:android": "corepack pnpm -C packages/core build:native android && corepack pnpm exec tsx scripts/sync-demo-corpus.ts android", |
| 31 | "build:desktop": "corepack pnpm -C packages/core build:native desktop && corepack pnpm exec tsx scripts/sync-demo-corpus.ts desktop", |
| 32 | "build:blitz-web": "tsx scripts/build-blitz-web.ts", |
| 33 | "build:litehtml-web": "tsx scripts/build-litehtml-web.ts" |
| 34 | }, |
| 35 | "devDependencies": { |
| 36 | "@telegram/widget-sandbox": "workspace:*", |
| 37 | "@anthropic-ai/sdk": "^0.131.0", |
| 38 | "@playwright/test": "^1.63.0", |
| 39 | "@types/css-tree": "^3.2.0", |
| 40 | "@types/node": "^26.6.4", |
| 41 | "@types/pngjs": "^6.0.5", |
| 42 | "@types/ws": "^8.18.2", |
| 43 | "css-tree": "^3.2.1", |
| 44 | "pixelmatch": "^8.0.0", |
| 45 | "pngjs": "^7.0.0", |
| 46 | "tsx": "^4.23.15", |
| 47 | "typescript": "^7.0.2", |
| 48 | "ws": "^8.22.0" |
| 49 | } |
| 50 | } |
| 51 |