From 6b35408144d1ac905853c5eb47e57e9943969811 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 9 Mar 2025 07:41:24 -0700 Subject: [PATCH] chore: don't install dev dependencies for basic usage (#1135) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1135 --- UPDATE AND START SERVER.bat | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UPDATE AND START SERVER.bat b/UPDATE AND START SERVER.bat index 7aab86b3..8fe5b00c 100644 --- a/UPDATE AND START SERVER.bat +++ b/UPDATE AND START SERVER.bat @@ -13,7 +13,7 @@ if exist static\data\0\ ( ) echo Updating dependencies... -call npm i +call npm i --omit=dev call npm run build if %errorlevel% == 0 ( diff --git a/package.json b/package.json index 50710c25..a57639f6 100644 --- a/package.json +++ b/package.json @@ -14,27 +14,27 @@ }, "license": "GNU", "dependencies": { + "@types/express": "^5", + "@types/morgan": "^1.9.9", "copyfiles": "^2.4.1", "express": "^5", "mongoose": "^8.11.0", + "morgan": "^1.10.0", + "typescript": ">=4.7.4 <5.6.0", "warframe-public-export-plus": "^0.5.41", "warframe-riven-info": "^0.1.2", "winston": "^3.17.0", "winston-daily-rotate-file": "^5.0.0" }, "devDependencies": { - "@types/express": "^5", - "@types/morgan": "^1.9.9", "@typescript-eslint/eslint-plugin": "^7.18", "@typescript-eslint/parser": "^7.18", "eslint": "^8.56.0", "eslint-plugin-prettier": "^5.2.3", - "morgan": "^1.10.0", "prettier": "^3.4.2", "ts-node": "^10.9.2", "ts-node-dev": "^2.0.0", - "tsconfig-paths": "^4.2.0", - "typescript": ">=4.7.4 <5.6.0" + "tsconfig-paths": "^4.2.0" }, "engines": { "node": ">=18.15.0",