rsnext/examples/with-stripe-typescript/package.json
Hidetaka Okamoto 2ec2becbcf
[example] Upgrade the with-stripe-typescript example app (#33761)
Hi team!
I found in the `with-stripe-typescript` example that I need to update these things.

- `use-shopping-cart` is launched a new major version
- Stripe launched a new useful payment element named Stripe Payment Element

So I've updated the example app to support these updates.

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`

## How to test it

Please check the README.md of the example.
https://github.com/vercel/next.js/blob/canary/examples/with-stripe-typescript/README.md

Thanks!
2022-01-28 23:20:43 +00:00

27 lines
600 B
JSON

{
"private": true,
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@stripe/react-stripe-js": "1.7.0",
"@stripe/stripe-js": "1.22.0",
"micro": "^9.3.4",
"micro-cors": "^0.1.1",
"next": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"stripe": "8.200.0",
"swr": "^0.1.16",
"use-shopping-cart": "3.0.5"
},
"devDependencies": {
"@types/micro": "^7.3.3",
"@types/micro-cors": "^0.1.0",
"@types/node": "^13.1.2",
"@types/react": "^16.9.17",
"typescript": "4.5.5"
}
}