From 3bc9fcdb2f486babc31c845b638ae4c9567c8ec0 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Fri, 22 Jul 2022 15:10:01 -0400 Subject: the workflow should now depend on `npm gh-pages` through the new `package.json` script `deploy`. --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 1879c31..b99d5a9 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,9 @@ "scripts": { "build": "vite build", "dev": "vite", - "start": "vite preview", - "check": "svelte-check --tsconfig ./tsconfig.json" + "start": "vite preview", + "check": "svelte-check --tsconfig ./tsconfig.json", + "deploy": "npx gh-pages -d dist" }, "devDependencies": { "@smui/button": "^4.2.0", @@ -17,6 +18,7 @@ "@tsconfig/svelte": "^2.0.1", "autoprefixer": "^10.4.7", "concurrently": "^7.2.1", + "gh-pages": "^4.0.0", "postcss": "^8.4.14", "postcss-load-config": "^4.0.1", "svelte": "^3.44.2", -- cgit v1.2.3