mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-24 03:06:16 +00:00
- Add base: './' to Vite config for relative asset paths - Update post-build.js regex to handle both absolute and relative paths - Ensure proper asset inlining for plugin HTML delivery
22 lines
676 B
JSON
22 lines
676 B
JSON
{
|
|
"name": "procrastination-buster-plugin",
|
|
"version": "1.0.0",
|
|
"description": "Procrastination Buster plugin for Super Productivity",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"watch": "vite build --watch",
|
|
"build": "vite build && node scripts/post-build.js",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"package": "npm run build && cd dist && zip -r plugin.zip *"
|
|
},
|
|
"devDependencies": {
|
|
"@solidjs/router": "^0.10.0",
|
|
"@super-productivity/plugin-api": "file:../../plugin-api",
|
|
"solid-js": "^1.8.0",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^5.0.0",
|
|
"vite-plugin-singlefile": "^2.2.0",
|
|
"vite-plugin-solid": "^2.8.0"
|
|
}
|
|
}
|