diff --git a/package.json b/package.json index 3a51f600..9470bf36 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,12 @@ "react-scripts": "3.4.1" }, "scripts": { - "predeploy": "npm run build", - "deploy": "gh-pages -d build", - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "predeploy": "cross-env NODE_OPTIONS=--openssl-legacy-provider npm run build", + "deploy": "cross-env NODE_OPTIONS=--openssl-legacy-provider gh-pages -d build", + "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-scripts start", + "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-scripts build", + "test": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-scripts test", + "eject": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-scripts eject" }, "eslintConfig": { "extends": "react-app" @@ -35,5 +35,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "cross-env": "^10.0.0" } } diff --git a/public/index.html b/public/index.html index 40d13aef..b5e5d7b0 100644 --- a/public/index.html +++ b/public/index.html @@ -13,11 +13,11 @@ /> -