-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 865 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "v6-web-sdk-sample-html-iframe",
"version": "1.0.0",
"description": "In this example, we serve a merchant page with an embedded iframe on a different domain. The iframe interacts with a server using the PayPal Server SDK and uses `postMessage` to the merchant page. This demonstrates the v6 ability to work entirely in an iframe.",
"scripts": {
"merchant-page": "vite --config vite-merchant-example.config.js",
"paypal-iframe": "vite --config vite-paypal-iframe.config.js",
"start": "concurrently \"npm run merchant-page\" \"npm run paypal-iframe\"",
"format": "prettier . --write",
"format:check": "prettier . --check",
"lint": "echo \"eslint is not set up\""
},
"license": "Apache-2.0",
"devDependencies": {
"prettier": "^3.5.3"
},
"dependencies": {
"concurrently": "^9.1.2",
"vite": "^6.2.0"
}
}