b7585ac46d
Adds store/ with a reproducible generator for the Web Store listing
screenshots: composites the popup capture onto an on-brand (readest.com)
background with a headline, renders via headless Chromium, and writes 24-bit
no-alpha PNGs at 1280x800 and 640x400 into store/out/ (gitignored).
- store/generate.mjs - config + compositing + render (Playwright + ImageMagick)
- store/popup.png - raw popup capture (700x508); its status strip is blanked
and re-lettered from CONFIG so it stays in sync with code
- store/README.md - usage + requirements
- package.json - adds `pnpm store:screenshots`
- .gitignore - ignores store/out/
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
31 lines
959 B
JSON
31 lines
959 B
JSON
{
|
|
"name": "@readest/send-to-readest-extension",
|
|
"version": "0.2.1",
|
|
"private": true,
|
|
"description": "Browser extension that clips the current web page into the user's Readest library as a self-contained EPUB.",
|
|
"scripts": {
|
|
"build": "webpack --mode production",
|
|
"dev": "webpack --watch --mode development",
|
|
"clean": "rimraf dist",
|
|
"zip": "pnpm build && node scripts/zip.mjs",
|
|
"store:screenshots": "node store/generate.mjs",
|
|
"i18n:extract": "node scripts/extract-i18n.mjs",
|
|
"i18n:check": "node scripts/extract-i18n.mjs --check"
|
|
},
|
|
"dependencies": {
|
|
"@mozilla/readability": "^0.6.0",
|
|
"@zip.js/zip.js": "^2.8.16",
|
|
"dompurify": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chrome": "^0.0.270",
|
|
"@types/dompurify": "^3.0.5",
|
|
"copy-webpack-plugin": "^14.0.0",
|
|
"rimraf": "^6.0.1",
|
|
"ts-loader": "^9.5.1",
|
|
"typescript": "^5.6.3",
|
|
"webpack": "^5.97.1",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|