Skip to content

Commit

Permalink
Merge pull request #7 from near-daos/feature/add-cross-env-for-window…
Browse files Browse the repository at this point in the history
…-development

Add cross env for development on the window platforms
  • Loading branch information
stee1house authored Jan 21, 2022
2 parents 185fde3 + 265e37b commit afbc84d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"

[email protected], 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"

[email protected], 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==
Expand Down Expand Up @@ -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:
[email protected]:
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==
Expand Down

0 comments on commit afbc84d

Please sign in to comment.