[skip ci] dev: add scripts and description how to test plugins locally (#1601)

* add scripts and description how to test plugins locally

* add serve as an explicit dependency
This commit is contained in:
Karol
2025-03-31 07:45:42 +02:00
committed by GitHub
parent c372089462
commit a83ab58080
6 changed files with 1477 additions and 26 deletions
+3 -1
View File
@@ -11,8 +11,9 @@
"generate": "node ./scripts/multisrc/generate.js",
"host-linux": "chmod +x ./host.sh && ./host.sh",
"host-windows": "powershell ./host.ps1",
"host-dev": "npx tsc --project tsconfig.production.json && node --env-file=.env ./scripts/json_plugins.js && serve",
"icons": "npm run clearMultisrc && npm run generate && npx tsc --project tsconfig.production.json && npm run json && node ./scripts/icon_reloading.js",
"json": " node ./scripts/json_plugins.js",
"json": "node ./scripts/json_plugins.js",
"lint": "npx eslint .",
"prepare": "husky install",
"prettier": "prettier --write \"./**/*.{js,ts}\"",
@@ -58,6 +59,7 @@
"react-virtuoso": "^4.12.2",
"react-window": "^1.8.10",
"sanitize-html": "^2.13.1",
"serve": "^14.2.4",
"typescript-eslint": "^7.14.1",
"urlencode": "^2.0.0",
"vite": "^5.2.0",