Skip to content

Commit 4b19e65

Browse files
authored
Merge pull request pterodactyl#1864 from KieronWiltshire/feature/cross-env
Added cross-env to package.json
2 parents 536f056 + 0a53e75 commit 4b19e65

File tree

2 files changed

+45
-4
lines changed

2 files changed

+45
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"babel-loader": "^8.0.6",
7676
"babel-plugin-styled-components": "^1.10.6",
7777
"babel-plugin-tailwind-components": "^0.5.10",
78+
"cross-env": "^7.0.2",
7879
"css-loader": "^3.2.1",
7980
"cssnano": "^4.1.10",
8081
"eslint": "^5.16.0",
@@ -111,10 +112,10 @@
111112
},
112113
"scripts": {
113114
"clean": "rm -rf public/assets/*.{js,css,map}",
114-
"watch": "NODE_ENV=development ./node_modules/.bin/webpack --watch --progress",
115-
"build": "NODE_ENV=development ./node_modules/.bin/webpack --progress",
116-
"build:production": "yarn run clean && NODE_ENV=production ./node_modules/.bin/webpack --mode production",
117-
"serve": "yarn run clean && PUBLIC_PATH=https://pterodactyl.test:8080 NODE_ENV=development webpack-dev-server --host 0.0.0.0 --hot --https --key /etc/ssl/private/pterodactyl.test-key.pem --cert /etc/ssl/private/pterodactyl.test.pem"
115+
"watch": "cross-env NODE_ENV=development ./node_modules/.bin/webpack --watch --progress",
116+
"build": "cross-env NODE_ENV=development ./node_modules/.bin/webpack --progress",
117+
"build:production": "yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production",
118+
"serve": "yarn run clean && cross-env PUBLIC_PATH=https://pterodactyl.test:8080 NODE_ENV=development webpack-dev-server --host 0.0.0.0 --hot --https --key /etc/ssl/private/pterodactyl.test-key.pem --cert /etc/ssl/private/pterodactyl.test.pem"
118119
},
119120
"browserslist": [
120121
"> 0.5%",

yarn.lock

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
20392039
safe-buffer "^5.0.1"
20402040
sha.js "^2.4.8"
20412041

2042+
cross-env@^7.0.2:
2043+
version "7.0.2"
2044+
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
2045+
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
2046+
dependencies:
2047+
cross-spawn "^7.0.1"
2048+
20422049
cross-spawn@6.0.5, cross-spawn@^6.0.0, cross-spawn@^6.0.5:
20432050
version "6.0.5"
20442051
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@@ -2049,6 +2056,15 @@ cross-spawn@6.0.5, cross-spawn@^6.0.0, cross-spawn@^6.0.5:
20492056
shebang-command "^1.2.0"
20502057
which "^1.2.9"
20512058

2059+
cross-spawn@^7.0.1:
2060+
version "7.0.1"
2061+
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14"
2062+
integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==
2063+
dependencies:
2064+
path-key "^3.1.0"
2065+
shebang-command "^2.0.0"
2066+
which "^2.0.1"
2067+
20522068
crypto-browserify@^3.11.0:
20532069
version "3.12.0"
20542070
resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
@@ -5062,6 +5078,11 @@ path-key@^2.0.0, path-key@^2.0.1:
50625078
version "2.0.1"
50635079
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
50645080

5081+
path-key@^3.1.0:
5082+
version "3.1.1"
5083+
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
5084+
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
5085+
50655086
path-parse@^1.0.6:
50665087
version "1.0.6"
50675088
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
@@ -6589,10 +6610,22 @@ shebang-command@^1.2.0:
65896610
dependencies:
65906611
shebang-regex "^1.0.0"
65916612

6613+
shebang-command@^2.0.0:
6614+
version "2.0.0"
6615+
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
6616+
integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
6617+
dependencies:
6618+
shebang-regex "^3.0.0"
6619+
65926620
shebang-regex@^1.0.0:
65936621
version "1.0.0"
65946622
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
65956623

6624+
shebang-regex@^3.0.0:
6625+
version "3.0.0"
6626+
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
6627+
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
6628+
65966629
signal-exit@^3.0.0, signal-exit@^3.0.2:
65976630
version "3.0.2"
65986631
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
@@ -7573,6 +7606,13 @@ which@^1.2.14, which@^1.2.9, which@^1.3.1:
75737606
dependencies:
75747607
isexe "^2.0.0"
75757608

7609+
which@^2.0.1:
7610+
version "2.0.2"
7611+
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
7612+
integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
7613+
dependencies:
7614+
isexe "^2.0.0"
7615+
75767616
wide-align@^1.1.0:
75777617
version "1.1.3"
75787618
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"

0 commit comments

Comments
 (0)