Files
pbakaus_impeccable/package.json
T
Paul BakausandClaude Opus 4.6 8d0e9de26d Prepare CLI for npm: v2.0.1, Node compat, npm-specific README
- Rename bin/impeccable.mjs to bin/impeccable (npm rejects .mjs in bin)
- Shebang: #!/usr/bin/env node (works without Bun)
- Add README.npm.md with CLI-focused docs, swapped in during publish
- Build browser script to source/ dir so URL scanning works in npm pkg
- Include browser script in files field
- Move website-only deps (archiver, motion, playwright) to devDependencies
- jsdom as dependency, puppeteer as optionalDependency
- Bump version to 2.0.1 across package.json, plugin.json, marketplace.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 12:17:59 -07:00

61 lines
1.6 KiB
JSON

{
"name": "impeccable",
"version": "2.0.1",
"author": "Paul Bakaus",
"bin": {
"impeccable": "./bin/impeccable"
},
"files": [
"bin/",
"source/skills/critique/scripts/detect-antipatterns.mjs",
"source/skills/critique/scripts/detect-antipatterns-browser.js",
"LICENSE"
],
"dependencies": {
"jsdom": "^29.0.0"
},
"optionalDependencies": {
"puppeteer": "^24.39.1"
},
"description": "Detect UI anti-patterns and design quality issues from the command line",
"keywords": [
"design",
"frontend",
"ux",
"anti-patterns",
"lint",
"accessibility",
"css",
"html",
"cli"
],
"license": "SEE LICENSE FILE",
"repository": {
"type": "git",
"url": "git+https://github.com/pbakaus/impeccable.git"
},
"engines": {
"node": ">=18"
},
"scripts": {
"prepublishOnly": "cp README.md README.bak.md && cp README.npm.md README.md",
"postpublish": "mv README.bak.md README.md",
"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 tests/build.test.js tests/detect-antipatterns.test.js && node --test tests/detect-antipatterns-fixtures.test.mjs",
"screenshot": "bun run scripts/screenshot-antipatterns.js",
"og-image": "bun run scripts/generate-og-image.js"
},
"type": "module",
"devDependencies": {
"archiver": "^7.0.1",
"motion": "^12.38.0",
"playwright": "^1.58.2",
"wrangler": "^4.75.0"
}
}