From d3d8115c1db82ebaa9b3389c7c71566baccbe5e0 Mon Sep 17 00:00:00 2001 From: Sebastian Korfmann Date: Fri, 26 Jan 2024 09:25:32 +0100 Subject: [PATCH] not sure that makese sense --- examples/react-website/website/package.json | 4 ++-- examples/react-website/website/run_and_kill.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/react-website/website/package.json b/examples/react-website/website/package.json index b0d4a0e..c91ed11 100644 --- a/examples/react-website/website/package.json +++ b/examples/react-website/website/package.json @@ -13,8 +13,8 @@ "web-vitals": "^2.1.4" }, "scripts": { - "start": "node run_and_kill.js", - "build": "react-scripts build", + "start": "react-scripts start", + "build": "node run_and_kill.js", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/examples/react-website/website/run_and_kill.js b/examples/react-website/website/run_and_kill.js index 300cbbb..947073a 100644 --- a/examples/react-website/website/run_and_kill.js +++ b/examples/react-website/website/run_and_kill.js @@ -16,4 +16,4 @@ function runAndKillAfter(command, args, duration) { } console.log('Starting process...'); -runAndKillAfter('react-scripts', ['start'], 60000); // 60000 milliseconds = 60 seconds +runAndKillAfter('react-scripts', ['build'], 60000); // 60000 milliseconds = 60 seconds