refactor(scripts): Reorganize Build Scripts (#1847)

This commit is contained in:
Rajarshee Chatterjee
2025-10-20 12:10:11 +05:30
committed by GitHub
parent d3313a460e
commit 8108df39a1
11 changed files with 55 additions and 43 deletions
+6 -6
View File
@@ -24,19 +24,19 @@ Repository to host plugins and related issues, and requests for
#### via the testing website
1. Run `npm start` and open `localhost:3000` to test!
1. Run `npm run dev:start` and open `localhost:3000` to test!
[Detailed tutorial for testing website](./docs/website-tutorial.md)
#### via an app
1. Plugins from GitHub
* Run `npm run host-linux` or `npm run host-windows` (depending on your operating system)
* Add your `https://raw.githubusercontent.com/<username>/<repo>/plugins/<tag>/.dist/plugins.min.json` to app repository
- Run `npm run publish:plugins` or `npm run publish:plugins:windows` (depending on your operating system)
- Add your `https://raw.githubusercontent.com/<username>/<repo>/plugins/<tag>/.dist/plugins.min.json` to app repository
2. Plugins from localhost
* Copy `.env.template` to `.env` and update `USER_CONTENT_BASE` according to the comment there
* Run `npm run host-dev`
* Add plugin listing to app repository (e.g. for android emulator `http://10.0.2.2/.dist/plugins.min.json`)
- Copy `.env.template` to `.env` and update `USER_CONTENT_BASE` according to the comment there
- Run `npm run serve:dev`
- Add plugin listing to app repository (e.g. for android emulator `http://10.0.2.2/.dist/plugins.min.json`)
---