From 4b56389adf5ac09dfd27afa3fb7a18a9c63f72c1 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Mon, 27 Sep 2021 13:26:29 +0200 Subject: [PATCH] Add preview command to build&server production --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 5a332b3..bbd02ef 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build": "rollup -c rollup.config.mjs", "dev": "yarn build -w", "start": "sirv public --no-clear", + "preview": "yarn build && yarn start", "check": "svelte-check --tsconfig ./tsconfig.json", "lint": "yarn lint:prettier && yarn lint:eslint", "lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",