-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.07 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
{
"name": "x402-guard",
"version": "0.1.0",
"description": "A cumulative x402 spending policy backed by one durable ledger.",
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/tjp2021/x402-guard.git"
},
"homepage": "https://github.com/tjp2021/x402-guard#readme",
"bugs": {
"url": "https://github.com/tjp2021/x402-guard/issues"
},
"keywords": [
"x402",
"payments",
"spending-policy",
"agents",
"eip-3009",
"usdc"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "node --eval \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"test": "vitest run",
"test:demo": "node examples/mandate-demo.mjs",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"typecheck:examples": "tsc --noEmit --strict --target ES2022 --module NodeNext --moduleResolution NodeNext --skipLibCheck examples/live-payment.ts scripts/verify-live-reconcile.ts",
"build": "tsc -p tsconfig.build.json",
"verify": "npm run typecheck && npm run typecheck:examples && npm run build && npm test && npm run test:demo",
"prepack": "npm run clean && npm run build",
"prepublishOnly": "npm run verify",
"demo": "node examples/mandate-demo.mjs"
},
"devDependencies": {
"@types/express": "^5.0.6",
"@types/node": "^22.0.0",
"@x402/express": "2.18.0",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"tsx": "^4.23.1",
"typescript": "^5.6.0",
"vitest": "4.1.10"
},
"dependencies": {
"@x402/core": "2.18.0",
"@x402/evm": "2.18.0",
"@x402/fetch": "2.18.0",
"viem": "2.55.2",
"yaml": "2.9.0"
},
"engines": {
"node": ">=20"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"examples/mandate-demo.mjs",
"examples/research-agent.policy.yaml",
"LICENSE",
"README.md",
"SECURITY.md",
"CHANGELOG.md"
]
}