diff --git a/imagelab_react/package.json b/imagelab_react/package.json index e8a2d78..c0e5c9c 100644 --- a/imagelab_react/package.json +++ b/imagelab_react/package.json @@ -12,6 +12,7 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "blockly": "^9.3.3", + "cross-env": "^7.0.3", "electron": "^25.0.1", "electron-is-dev": "^2.0.0", "jimp": "^0.22.8", @@ -28,7 +29,7 @@ "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "dev": "concurrently -k \"BROWSER=none yarn start\" \"yarn:electron\"", + "dev": "concurrently -k \"cross-env BROWSER=none yarn start\" \"yarn:electron\"", "electron": "electron ." }, "eslintConfig": { diff --git a/imagelab_react/yarn.lock b/imagelab_react/yarn.lock index c53486e..75a02b6 100644 --- a/imagelab_react/yarn.lock +++ b/imagelab_react/yarn.lock @@ -4015,7 +4015,14 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.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.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==