mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-24 03:06:16 +00:00
- Create install-all.js script following the same pattern as build-all.js - Handles npm install errors gracefully with fallback to --legacy-peer-deps - Provides colored output and progress tracking - Installs root dependencies first, then plugin dependencies in parallel
27 lines
1.3 KiB
JSON
27 lines
1.3 KiB
JSON
{
|
|
"name": "@super-productivity/plugin-dev",
|
|
"version": "1.0.0",
|
|
"description": "Plugin development workspace for Super Productivity",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node scripts/build-all.js",
|
|
"build:all": "node scripts/build-all.js",
|
|
"build:minimal": "cd minimal-plugin && zip -r ../minimal-plugin.zip manifest.json plugin.js README.md && cd .. && echo '✓ Built minimal-plugin.zip'",
|
|
"build:simple": "cd simple-typescript-plugin && npm install && npm run build && cd .. && echo '✓ Built simple-typescript-plugin'",
|
|
"build:example": "cd example-plugin && npm install && npm run build && npm run package && cd .. && echo '✓ Built example-plugin'",
|
|
"build:procrastination": "cd procrastination-buster && npm install && npm run build && npm run package && cd .. && echo '✓ Built procrastination-buster'",
|
|
"clean": "rm -rf */node_modules */dist minimal-plugin.zip",
|
|
"clean:dist": "rm -rf */dist minimal-plugin.zip",
|
|
"install:all": "node scripts/install-all.js",
|
|
"test": "echo 'No tests configured yet'",
|
|
"list": "echo 'Available plugins:' && ls -d */ | grep -v node_modules | grep -v scripts"
|
|
},
|
|
"devDependencies": {
|
|
"@super-productivity/plugin-api": "file:../plugin-api"
|
|
},
|
|
"workspaces": [
|
|
"example-plugin",
|
|
"simple-typescript-plugin",
|
|
"procrastination-buster"
|
|
]
|
|
}
|