From 23773116a2b7d914c8ef611023758c4ca29ab142 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 15 Nov 2019 18:21:23 -0500 Subject: [PATCH] move sirv back to dependencies --- README.md | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f8c3ea..18d4469 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ To create an optimised version of the app: npm run build ``` -You can run the newly built app with `npm run start`. This uses [sirv](https://github.com/lukeed/sirv), which is included in your package.json's `dependencies` so that the app will work on platforms that follow the `npm run build`/`npm run start` convention, like [now](https://zeit.co/now). +You can run the newly built app with `npm run start`. This uses [sirv](https://github.com/lukeed/sirv), which is included in your package.json's `dependencies` so that the app will work when you deploy to platforms like [Heroku](https://heroku.com). ## Deploying to the web diff --git a/package.json b/package.json index 16a827b..9c913cd 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,11 @@ "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-svelte": "^5.0.3", "rollup-plugin-terser": "^5.1.2", - "sirv-cli": "^0.4.4", "svelte": "^3.0.0" }, + "dependencies": { + "sirv-cli": "^0.4.4" + }, "scripts": { "build": "rollup -c", "dev": "rollup -c -w",