Skip to content

Commit

Permalink
Update script for deployment
Browse files Browse the repository at this point in the history
- Relates #127
-
-
  • Loading branch information
misterrodger committed Jun 28, 2019
1 parent 6a6ee56 commit de35d2a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"test": "jest",
"start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js -d --config webpack.config.js --content-base public/ --progress --colors ",
"start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js -d --config ./webpack.config.js --content-base public/ --progress --colors ",
"build": "webpack --mode production",
"heroku-prebuild": "yarn install --dev",
"heroku-postbuild": "yarn install && yarn run build",
Expand Down
38 changes: 26 additions & 12 deletions yarn-error.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Arguments:
/home/john/.nvm/versions/node/v12.4.0/bin/node /usr/local/bin/yarn add webpack-dev-server -D
/home/john/.nvm/versions/node/v12.4.0/bin/node /usr/local/bin/yarn install

PATH:
/home/john/.nvm/versions/node/v12.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Expand Down Expand Up @@ -30,7 +30,7 @@ npm manifest:
},
"scripts": {
"test": "jest",
"start": "webpack-dev-server --open --hot --mode development",
"start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js -d --config webpack.config.js --content-base public/ --progress --colors ",
"build": "webpack --mode production",
"heroku-prebuild": "yarn install --dev",
"heroku-postbuild": "yarn install && yarn run build",
Expand Down Expand Up @@ -72,7 +72,8 @@ npm manifest:
"style-loader": "^0.23.1",
"supertest": "^4.0.2",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2"
"webpack-cli": "^3.3.2",
"webpack-dev-server": "3.7.2"
}
}

Expand Down Expand Up @@ -4976,10 +4977,10 @@ Lockfile:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==

loglevel@^1.6.2:
version "1.6.2"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.2.tgz#668c77948a03dbd22502a3513ace1f62a80cc372"
integrity sha512-Jt2MHrCNdtIe1W6co3tF5KXGRkzF+TYffiQstfXa04mrss9IKXzAAXYWak8LbZseAQY03sH2GzMCMU0ZOUc9bg==
loglevel@^1.6.3:
version "1.6.3"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.3.tgz#77f2eb64be55a404c9fd04ad16d57c1d6d6b1280"
integrity sha512-LoEDv5pgpvWgPF4kNYuIp0qqSJVWak/dML0RY74xlzMZiT9w77teNAwKYKWBTYjlokMirg+o3jBwp+vlLrcfAA==

loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0"
Expand Down Expand Up @@ -5795,6 +5796,13 @@ Lockfile:
resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa"
integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=

p-retry@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328"
integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==
dependencies:
retry "^0.12.0"

p-try@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
Expand Down Expand Up @@ -6714,6 +6722,11 @@ Lockfile:
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==

retry@^0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b"
integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=

[email protected], rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.6.3"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
Expand Down Expand Up @@ -7870,10 +7883,10 @@ Lockfile:
range-parser "^1.2.1"
webpack-log "^2.0.0"

webpack-dev-server@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.5.1.tgz#4290ac709bb989dc7382c912899f79fd5677dabf"
integrity sha512-0IdMGddJcnK9zesZOeHWl4uAOVfypn7DSrdNWtclROkVBXy/TcBN+6eEG1wNfLT9dXVfaRZZsLTJt0mJtgTQgw==
webpack-dev-server@3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.7.2.tgz#f79caa5974b7f8b63268ef5421222a8486d792f5"
integrity sha512-mjWtrKJW2T9SsjJ4/dxDC2fkFVUw8jlpemDERqV0ZJIkjjjamR2AbQlr3oz+j4JLhYCHImHnXZK5H06P2wvUew==
dependencies:
ansi-html "0.0.7"
bonjour "^3.5.0"
Expand All @@ -7889,8 +7902,9 @@ Lockfile:
internal-ip "^4.3.0"
ip "^1.1.5"
killable "^1.0.1"
loglevel "^1.6.2"
loglevel "^1.6.3"
opn "^5.5.0"
p-retry "^3.0.1"
portfinder "^1.0.20"
schema-utils "^1.0.0"
selfsigned "^1.10.4"
Expand Down

0 comments on commit de35d2a

Please sign in to comment.