From 7c6afd169c1a5bd702d7801d330c1c297f1f63e5 Mon Sep 17 00:00:00 2001 From: OllyNicholass Date: Tue, 29 Oct 2024 20:43:18 +0000 Subject: [PATCH] chore: add stripe script to easily run local webhook --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6dd387c..d38aa0c 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "vite dev", "build": "vite build", "preview": "vite preview", + "stripe": "stripe listen --forward-to localhost:5173/api/webhook/stripe", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --check . && eslint .",