-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.71 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@p2pdotme/widgets",
"version": "1.9.0",
"description": "React widgets for the P2P.me protocol — local-fiat-in, USDC-out on Base. Ships Checkout (buy), Cashout (USDC → fiat), and PaymentHistory as independently-importable subpaths.",
"license": "MIT",
"author": "P2P.me",
"homepage": "https://github.com/p2pdotme/widgets#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/p2pdotme/widgets.git"
},
"bugs": {
"url": "https://github.com/p2pdotme/widgets/issues"
},
"keywords": [
"p2p",
"p2p.me",
"checkout",
"cashout",
"payment-history",
"react",
"widgets",
"stablecoin",
"usdc",
"base",
"upi",
"pix",
"spei",
"offramp"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./checkout": {
"types": "./dist/checkout.d.ts",
"import": "./dist/checkout.js",
"require": "./dist/checkout.cjs"
},
"./cashout": {
"types": "./dist/cashout.d.ts",
"import": "./dist/cashout.js",
"require": "./dist/cashout.cjs"
},
"./payment-history": {
"types": "./dist/payment-history.d.ts",
"import": "./dist/payment-history.js",
"require": "./dist/payment-history.cjs"
},
"./support": {
"types": "./dist/support.d.ts",
"import": "./dist/support.js",
"require": "./dist/support.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"typecheck:examples": "tsc --noEmit --project tsconfig.examples.json",
"test": "node --experimental-strip-types --test 'src/core/*.test.ts' && vitest run",
"verify": "npm run typecheck && npm run build && npm run typecheck:examples && npm run test",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"viem": ">=2"
},
"dependencies": {
"@p2pdotme/sdk": "^1.2.23"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.0",
"@testing-library/react": "^16.1.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"jsdom": "^26.0.0",
"jsqr": "1.4.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"tsup": "^8.3.0",
"typescript": "^5.5.0",
"viem": "^2.21.0",
"vitest": "^2.0.0"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
}
}