From 89b3c10fb951bff793f0e9decb68e7cd51a01767 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 3 Dec 2019 22:23:45 -0800 Subject: [PATCH] added install script for linux environment/modified npm run start to not autoopen browser --- env/install.sh | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 env/install.sh diff --git a/env/install.sh b/env/install.sh new file mode 100644 index 0000000..1c820cf --- /dev/null +++ b/env/install.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +apt update -y \ + && apt install -y nodejs npm \ + && npm i \ No newline at end of file diff --git a/package.json b/package.json index 6637585..081d3ab 100644 --- a/package.json +++ b/package.json @@ -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": { -- 2.39.5