@cedros/pay-react
Version:
React frontend library for Cedros Pay - unified Stripe and Solana x402 payments
141 lines (140 loc) • 4 kB
JSON
{
"name": "@cedros/pay-react",
"version": "1.0.5",
"description": "React frontend library for Cedros Pay - unified Stripe and Solana x402 payments",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./stripe-only": {
"types": "./dist/stripe-only.d.ts",
"import": "./dist/stripe-only.mjs",
"require": "./dist/stripe-only.js"
},
"./crypto-only": {
"types": "./dist/crypto-only.d.ts",
"import": "./dist/crypto-only.mjs",
"require": "./dist/crypto-only.js"
},
"./telemetry": {
"types": "./dist/telemetry.d.ts",
"import": "./dist/telemetry.mjs",
"require": "./dist/telemetry.js"
},
"./testing": {
"types": "./dist/testing/index.d.ts",
"import": "./dist/testing/index.mjs",
"require": "./dist/testing/index.js"
},
"./style.css": "./dist/pay-react.css"
},
"files": [
"dist"
],
"keywords": [
"payments",
"stripe",
"solana",
"x402",
"crypto",
"react",
"stablecoins"
],
"author": "Cedros Pay Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/CedrosPay/react.git"
},
"bugs": {
"url": "https://github.com/CedrosPay/react/issues"
},
"homepage": "https://github.com/CedrosPay/react#readme",
"peerDependencies": {
"@solana/spl-token": "^0.4.14",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.39",
"@solana/wallet-adapter-wallets": "^0.19.32",
"@solana/web3.js": "^1.95.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@solana/spl-token": {
"optional": true
},
"@solana/wallet-adapter-base": {
"optional": true
},
"@solana/wallet-adapter-react": {
"optional": true
},
"@solana/wallet-adapter-react-ui": {
"optional": true
},
"@solana/wallet-adapter-wallets": {
"optional": true
},
"@solana/web3.js": {
"optional": true
}
},
"dependencies": {
"@stripe/stripe-js": "^4.0.0",
"bs58": "^6.0.0",
"js-base64": "^3.7.8"
},
"devDependencies": {
"@solana/spl-token": "^0.4.14",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.39",
"@solana/wallet-adapter-wallets": "^0.19.32",
"@solana/web3.js": "^1.95.0",
"@storybook/addon-docs": "^10.0.6",
"@storybook/react-vite": "^10.0.6",
"@storybook/testing-library": "^0.2.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-v8": "^4.0.8",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^10.0.6",
"husky": "^9.1.7",
"jsdom": "^24.0.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup-plugin-visualizer": "^5.12.0",
"storybook": "^10.0.6",
"typescript": "^5.4.0",
"uuid": "^13.0.0",
"vite": "^7.2.2",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.8"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx",
"type-check": "tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"analyze": "ANALYZE=true vite build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepublishOnly": "npm run lint && npm run type-check && npm test && npm run build",
"prepare": "husky"
}
}