mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
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:
@@ -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
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user