From 06e3bb5ea363e2480b2ce0b2566a5eb19ff70fda Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Mon, 6 Jul 2020 18:37:13 -0500 Subject: [PATCH] Switch to servor instead of the build-in vue-cli-service server for development tools. --- doc/issues/next-issue-number.txt | 2 +- .../open/007-support-rolling-averages-in-graph-displays.md | 1 + web/package-lock.json | 6 ++++++ web/package.json | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 doc/issues/open/007-support-rolling-averages-in-graph-displays.md diff --git a/doc/issues/next-issue-number.txt b/doc/issues/next-issue-number.txt index 85f98a5..c7f9ab7 100644 --- a/doc/issues/next-issue-number.txt +++ b/doc/issues/next-issue-number.txt @@ -1 +1 @@ -007 \ No newline at end of file +008 \ No newline at end of file diff --git a/doc/issues/open/007-support-rolling-averages-in-graph-displays.md b/doc/issues/open/007-support-rolling-averages-in-graph-displays.md new file mode 100644 index 0000000..15abde4 --- /dev/null +++ b/doc/issues/open/007-support-rolling-averages-in-graph-displays.md @@ -0,0 +1 @@ +### Support rolling averages in graph displays. diff --git a/web/package-lock.json b/web/package-lock.json index e9bf90b..3c46e2a 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -13415,6 +13415,12 @@ } } }, + "servor": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/servor/-/servor-4.0.2.tgz", + "integrity": "sha512-MlmQ5Ntv4jDYUN060x/KEmN7emvIqKMZ9OkM+nY8Bf2+KkyLmGsTqWLyAN2cZr5oESAcH00UanUyyrlS1LRjFw==", + "dev": true + }, "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", diff --git a/web/package.json b/web/package.json index 20a96b9..bf0cd42 100644 --- a/web/package.json +++ b/web/package.json @@ -3,7 +3,7 @@ "version": "0.9.0", "private": true, "scripts": { - "serve": "vue-cli-service serve", + "serve": "npx servor dist", "build-prod": "vue-cli-service build --mode production", "build-dev": "vue-cli-service build --mode development", "lint": "vue-cli-service lint", @@ -54,6 +54,7 @@ "live-server": "^1.2.1", "node-sass": "^4.13.1", "sass-loader": "^7.3.1", + "servor": "^4.0.2", "ts-jest": "^23.0.0", "typescript": "^3.7.5", "vue-cli-plugin-webpack-bundle-analyzer": "^1.4.0",