add stripe:listen command

This commit is contained in:
MarconLP 2023-04-19 01:33:08 +02:00
parent c293b5098f
commit c76ab13434
No known key found for this signature in database
GPG key ID: A08A9C8B623F5EA5

View file

@ -7,7 +7,8 @@
"dev": "next dev", "dev": "next dev",
"postinstall": "prisma generate", "postinstall": "prisma generate",
"lint": "next lint", "lint": "next lint",
"test:e2e": "npm run db-seed && playwright test --headed", "test:e2e": "npm run db-seed && playwright test --headed --workers 1",
"stripe:listen": "stripe listen --forward-to http://localhost:3000/api/webhooks/stripe",
"db-seed": "NODE_ENV=development prisma db seed", "db-seed": "NODE_ENV=development prisma db seed",
"start": "next start" "start": "next start"
}, },