From bcde60a2d8c4706b2b4f898eecd27eeeb38f37b8 Mon Sep 17 00:00:00 2001 From: Halit Aksoy Date: Sun, 31 Jul 2022 17:31:39 +0300 Subject: [PATCH 1/2] bumb react version to ^18.2.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f214ce3..bf2add7 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "@types/styled-jsx": "^3.4.4", "@types/uuid": "^8.3.4", "mancala.js": "^0.0.2-beta.3", - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-router-dom": "6", "styled-jsx": "^5.0.2", "uuid": "^8.3.2" From 6e891f963397a77d946637effcb6f9f3f4fa0fce Mon Sep 17 00:00:00 2001 From: Halit Aksoy Date: Sun, 31 Jul 2022 17:38:12 +0300 Subject: [PATCH 2/2] change build script --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bf2add7..80ddca4 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "dev": "parcel src/index.html", "test": "echo \"Error: no test specified\" && exit 1", - "build:parcel": "parcel build ./src/index.html --public-url ./ --no-source-maps", - "build": "npm run clean && npm run build:parcel", + "build": "parcel build src/index.html", + "start": "parcel", "clean": "rm -rf dist/*" }, "keywords": [],