diff --git a/package.json b/package.json index e39cb0a..6275b77 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "axios": "0.24.0", "clsx": "1.1.1", "connected-react-router": "6.9.1", + "cross-env": "7.0.3", "date-fns": "2.27.0", "date-fns-tz": "1.2.2", "downshift": "6.1.7", @@ -61,7 +62,7 @@ "prettier": "2.1.2", "react-scripts": "4.0.3", "redux-devtools-extension": "2.13.9", - "runtime-env-cra": "^0.2.4", + "runtime-env-cra": "0.2.4", "stylelint": "13.12.0", "stylelint-config-css-modules": "2.3.0", "stylelint-config-prettier": "8.0.2", @@ -71,7 +72,7 @@ "typescript-plugin-css-modules": "2.8.0" }, "scripts": { - "start": "yarn generate-assets-index & yarn build-svg-sprite & NODE_ENV=production runtime-env-cra --config-name=./public/runtime-env.js & react-scripts start", + "start": "yarn generate-assets-index & yarn build-svg-sprite & cross-env NODE_ENV=development runtime-env-cra --config-name=./public/runtime-env.js & react-scripts start", "build": "yarn generate-assets-index & yarn build-svg-sprite & react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", diff --git a/yarn.lock b/yarn.lock index 4010ff0..fec0690 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4337,7 +4337,14 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -12370,7 +12377,7 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" -runtime-env-cra@^0.2.4: +runtime-env-cra@0.2.4: version "0.2.4" resolved "https://registry.yarnpkg.com/runtime-env-cra/-/runtime-env-cra-0.2.4.tgz#9371eeabaa50d8bb3d62d665d3f499e0a9e2214f" integrity sha512-FaJP9OblY0NA0HKhgjIwT8UxUj4Q4v3aMD4E6ksSG6GYtEhJpq8Q+MZE1NK88mIClqIIUbwCFY9KElB2pU+o/Q==