aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-12-16 19:52:50 +0000
committerGravatar GitHub <[email protected]>2020-12-16 19:52:50 +0000
commit6b4bd5804d1b68ce6c014a5427c385a2454b6d0a (patch)
treee1b986a28697a4beb5902047412104767a6b4b67
parentFetch forms only once in discovery (diff)
parentMerge branch 'main' into add-cross-env (diff)
Merge pull request #34 from python-discord/add-cross-env
-rw-r--r--package.json7
-rw-r--r--yarn.lock9
2 files changed, 12 insertions, 4 deletions
diff --git a/package.json b/package.json
index dbb0fc1..3e242cf 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,7 @@
"@typescript-eslint/parser": "4.10.0",
"axios": "0.21.0",
"copy-webpack-plugin": "7.0.0",
+ "cross-env": "7.0.3",
"eslint": "7.15.0",
"eslint-config-react-app": "6.0.0",
"eslint-loader": "4.0.2",
@@ -56,9 +57,9 @@
"workbox-webpack-plugin": "6.0.2"
},
"scripts": {
- "start": "NODE_ENV=development webpack serve",
- "build": "REACT_APP_SHA=$COMMIT_REF REACT_APP_BRANCH=$BRANCH webpack",
- "test": "jest"
+ "start": "cross-env NODE_ENV=development webpack serve",
+ "build": "cross-env REACT_APP_SHA=$COMMIT_REF REACT_APP_BRANCH=$BRANCH webpack",
+ "test": "cross-env jest"
},
"eslintConfig": {
"extends": "react-app"
diff --git a/yarn.lock b/yarn.lock
index dca10f3..9b3c207 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3521,6 +3521,13 @@ cosmiconfig@^7.0.0:
path-type "^4.0.0"
yaml "^1.10.0"
+ 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@^6.0.0:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@@ -3532,7 +3539,7 @@ cross-spawn@^6.0.0:
shebang-command "^1.2.0"
which "^1.2.9"
-cross-spawn@^7.0.0, cross-spawn@^7.0.2:
+cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==