added install script for linux environment/modified npm run start to not autoopen...
authoralex <[email protected]>
Wed, 4 Dec 2019 06:23:45 +0000 (22:23 -0800)
committeralex <[email protected]>
Wed, 4 Dec 2019 06:23:45 +0000 (22:23 -0800)
env/install.sh [new file with mode: 0644]
package.json

diff --git a/env/install.sh b/env/install.sh
new file mode 100644 (file)
index 0000000..1c820cf
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+apt update -y \
+       && apt install -y nodejs npm \
+       && npm i
\ No newline at end of file
index 6637585b093cea01dbb7d0f8af9bbe247f06b57a..081d3ab39d843e601431a21aaab8c95e30c1fd69 100644 (file)
@@ -6,7 +6,7 @@
   "scripts": {
     "build": "webpack --config webpack.prod.config.js",
     "build:dev": "webpack --config webpack.dev.config.js",
-    "start": "webpack-dev-server --config webpack.dev.config.js --open",
+    "start": "webpack-dev-server --config webpack.dev.config.js",
     "test": "nyc mocha --require @babel/register"
   },
   "repository": {