UNPKG

@whop/checkout

Version:

Embed Whop checkout on any website

77 lines 2.11 kB
{ "name": "@whop/checkout", "version": "0.1.0", "description": "Embed Whop checkout on any website", "keywords": [ "checkout", "embedded", "payments", "whop" ], "homepage": "https://whop.com/developers/", "bugs": "https://github.com/whopio/whop-sdk-ts/issues", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/whopio/whop-sdk-ts", "directory": "packages/checkout" }, "files": [ "dist" ], "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/static/checkout/index.d.ts", "import": "./dist/static/checkout/index.mjs", "require": "./dist/static/checkout/index.cjs", "default": "./dist/static/checkout/index.js" }, "./loader": "./dist/static/checkout/loader.js", "./react": { "types": "./dist/static/checkout/react/index.d.ts", "import": "./dist/static/checkout/react/index.mjs", "require": "./dist/static/checkout/react/index.cjs", "default": "./dist/static/checkout/react/index.js" }, "./util": { "types": "./dist/static/checkout/util.d.ts", "import": "./dist/static/checkout/util.mjs", "require": "./dist/static/checkout/util.cjs", "default": "./dist/static/checkout/util.js" } }, "publishConfig": { "access": "public" }, "devDependencies": { "@swc/core": "1.11.29", "@types/node": "latest", "@types/react": "^18.0.0", "react": "18.3.1", "tsup": "8.5.0", "typescript": "latest", "wrangler": "4.19.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "react": { "optional": true } }, "scripts": { "build": "tsup", "check-types": "tsc --noEmit", "deploy": "wrangler deploy", "deploy:canary": "wrangler versions upload", "dev": "WHOP_CHECKOUT_DEV_HARNESS=1 wrangler dev --port 8000", "lint": "oxlint .", "lint:fix": "oxlint --fix --fix-suggestions && oxfmt", "ci:lint": "oxlint -f github .", "format": "oxfmt" } }