diff --git a/apps/api/package.json b/apps/api/package.json index 3f760b0..8d53b77 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -3,7 +3,8 @@ "version": "1.0.0", "scripts": { "dev": "tsc-watch --preserveWatchOutput --onSuccess \"node dist/index.js --dev\"", - "build": "tsc" + "build": "tsc", + "start": "node dist/index.js" }, "type": "module", "dependencies": { diff --git a/package.json b/package.json index 867ca6b..c2c61d6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ "apps/*" ], "scripts": { + "build": "yarn workspaces foreach -A run build", + "start:api": "yarn workspace api start", + "start:frontend": "yarn workspace frontend start", "dev": "concurrently \"yarn workspace frontend dev\" \"yarn workspace api dev\" \"yarn workspace database dev\"" }, "//": [