From 4ff6a0edbc3235fb1baa1902015745b13e6ae088 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 22 Aug 2018 22:38:37 -0400 Subject: [PATCH] replace serve with sirv - closes #10 --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 805f519..8163b86 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,14 @@ "rollup-plugin-node-resolve": "^3.0.3", "rollup-plugin-svelte": "^4.2.1", "rollup-plugin-terser": "^1.0.1", - "serve": "^9.4.2", + "sirv-cli": "^0.2.0", "svelte": "^2.10.1" }, "scripts": { "build": "rollup -c", "autobuild": "rollup -c -w", - "dev": "run-p start autobuild", - "start": "serve public" + "dev": "run-p start:dev autobuild", + "start": "sirv public", + "start:dev": "sirv public --dev" } }