From df99669340c8baecfa015538da52c39bdee59e98 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sat, 26 Mar 2022 15:40:33 +0100 Subject: [PATCH] fix build path --- repl/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repl/package.json b/repl/package.json index a22079e1..5754606e 100644 --- a/repl/package.json +++ b/repl/package.json @@ -19,14 +19,14 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "BUILD_PATH='../docs' react-scripts build && npm run build-tutorial", "test": "react-scripts test", "eject": "react-scripts eject", "tutorial": "parcel src/tutorial/index.html --no-cache", "build-tutorial": "parcel build src/tutorial/index.html --dist-dir ../docs/tutorial --public-url /tutorial --no-optimize --no-scope-hoist --no-cache", "predeploy": "npm run build", - "deploy": "gh-pages -d build", - "static": "npx serve ./build" + "deploy": "gh-pages -d ../docs", + "static": "npx serve ../docs" }, "eslintConfig": { "extends": [