Skip to content

Commit

Permalink
update,
Browse files Browse the repository at this point in the history
  • Loading branch information
louiscklaw committed Jul 18, 2024
1 parent 0f4a300 commit 6ab8fcf
Show file tree
Hide file tree
Showing 5 changed files with 7,215 additions and 8,391 deletions.
5 changes: 5 additions & 0 deletions react-stripe-helloworld-tryout/.gitUpdate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
git add .

git commit -m"update,"

git push
22 changes: 22 additions & 0 deletions react-stripe-helloworld-tryout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,27 @@
"devDependencies": {
"prettier": "^2.6.2",
"puppeteer": "^11.0.0"
},
"dependencies": {
"@stripe/react-stripe-js": "^2.7.3",
"@stripe/stripe-js": "^4.1.0",
"axios": "^1.7.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "5",
"react-router-dom": "5",
"react-scripts": "^5.0.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

import { useState } from 'react'
import { CardElement, useStripe, useElements } from '@stripe/react-stripe-js'
import axios from 'axios'
// import axios from 'axios'

import './style.css'

Expand Down
3 changes: 3 additions & 0 deletions react-stripe-helloworld-tryout/test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
yarn

yarn start
Loading

0 comments on commit 6ab8fcf

Please sign in to comment.