mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
Major cleanup: - detectUrl() now injects the browser script via page.evaluate() and calls window.impeccableScan() instead of reimplementing all detection logic inline. Removes ~80 lines of triple-duplicated code. - Removed dead isPureBlackOrWhite function. - CLI reduced from 1286 to 1212 lines. New: Puppeteer-powered browser parity tests (detect-antipatterns-browser.test.js): - Starts a local HTTP server for fixtures - Loads fixture pages in headless Chrome - Runs the browser detection script via impeccableScan() - Verifies findings match expectations for all fixture categories: borders, colors, layout, typography, partials 8 new browser tests catch desync between CLI and browser script (like the WeakSet iteration bugs we hit earlier). puppeteer added as devDependency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
995 B
JSON
39 lines
995 B
JSON
{
|
|
"name": "impeccable",
|
|
"version": "1.5.1",
|
|
"author": "Paul Bakaus",
|
|
"dependencies": {
|
|
"archiver": "^7.0.1",
|
|
"motion": "^12.23.26",
|
|
"playwright": "^1.57.0"
|
|
},
|
|
"description": "Cross-provider design skills and commands for LLM-powered development tools",
|
|
"keywords": [
|
|
"cursor",
|
|
"claude",
|
|
"gemini",
|
|
"codex",
|
|
"design",
|
|
"frontend",
|
|
"ux"
|
|
],
|
|
"license": "SEE LICENSE FILE",
|
|
"scripts": {
|
|
"build": "bun run scripts/build.js",
|
|
"clean": "rm -rf dist build",
|
|
"rebuild": "bun run clean && bun run build",
|
|
"dev": "bun run server/index.js",
|
|
"preview": "bun run build && wrangler pages dev",
|
|
"deploy": "bun run build && wrangler pages deploy build/",
|
|
"test": "bun test",
|
|
"screenshot": "bun run scripts/screenshot-antipatterns.js",
|
|
"og-image": "bun run scripts/generate-og-image.js"
|
|
},
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"jsdom": "^29.0.0",
|
|
"puppeteer": "^24.39.1",
|
|
"wrangler": "^4.71.0"
|
|
}
|
|
}
|