mirror of
https://github.com/GetOpenScript/OpenScript.git
synced 2026-10-09 01:55:20 +00:00
Scripts can register buttons at runtime with OpenScript.button(label, onClick). The popup lists buttons from scripts running in the active tab via chrome.userScripts.execute in each script's world, and clicking one runs the handler in the page before closing the popup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
648 B
JSON
28 lines
648 B
JSON
{
|
|
"name": "openscript",
|
|
"version": "1.0.6",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:icons": "node scripts/generate-icons.js",
|
|
"screenshot": "node scripts/make-screenshot.js",
|
|
"zip": "node scripts/build-zip.js",
|
|
"publish": "node scripts/publish.js",
|
|
"test": "node --test"
|
|
},
|
|
"dependencies": {
|
|
"lucide": "^0.475.0"
|
|
},
|
|
"devDependencies": {
|
|
"adm-zip": "^0.5.18",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"sharp": "^0.33.5",
|
|
"tailwindcss": "^3.4.17",
|
|
"vite": "^5.4.14",
|
|
"vite-plugin-web-extension": "4.5.*"
|
|
}
|
|
}
|