Merge pull request #143 from Pandipipas/adapta-bundle-a-nueva-dependencia-nodecg

Bump Node.js engine, simplify start script, and add usage to README
This commit is contained in:
Pandipipas
2026-03-03 12:29:50 +01:00
committed by GitHub
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -9,8 +9,7 @@ NodeCG bundle for producing fighting game overlays.
## Requirements ## Requirements
- Node.js 22+ - Node.js 24.14.0+
- NodeCG 2.3+
## Scripts ## Scripts
@@ -18,9 +17,15 @@ NodeCG bundle for producing fighting game overlays.
- `npm run build`: builds dashboard/graphics and extension. - `npm run build`: builds dashboard/graphics and extension.
- `npm run lint`: validates project linting. - `npm run lint`: validates project linting.
- `npm run schema-types`: generates types from schemas. - `npm run schema-types`: generates types from schemas.
- `npm run start`: starts NodeCG. - `npm run start`: starts NodeCG using the local dependency (`nodecg start`).
- `npm run watch`: development mode with watch. - `npm run watch`: development mode with watch.
## Usage
- `npm install`
- `npm run build`
- `npm run start` (equivalent to `npx nodecg start`)
## Version ## Version
Initial project version: `0.1.0`. Initial project version: `0.1.0`.
+1 -1
View File
@@ -22,7 +22,7 @@
"build": "vite build && tsc -b tsconfig.extension.json", "build": "vite build && tsc -b tsconfig.extension.json",
"lint": "eslint", "lint": "eslint",
"schema-types": "nodecg schema-types", "schema-types": "nodecg schema-types",
"start": "cd ../.. && node index.js", "start": "nodecg start",
"watch": "conc -n B,E -c red,blue -k vite \"tsc -b -w --preserveWatchOutput tsconfig.extension.json\"" "watch": "conc -n B,E -c red,blue -k vite \"tsc -b -w --preserveWatchOutput tsconfig.extension.json\""
}, },
"nodecg": { "nodecg": {