-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 2.22 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
{
"name": "fiber-latch",
"version": "1.0.0",
"private": true,
"description": "Backend-only service that turns verified Fiber payments into signed access receipts.",
"main": "dist/server.js",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/server.js",
"test": "vitest run tests",
"test:watch": "vitest",
"fiber:testnet:verify": "tsx scripts/fiber-testnet-verify.ts",
"demo:local-access": "tsx scripts/demo-local-access.ts",
"demo:protected-resource": "tsx scripts/demo-protected-resource.ts",
"demo:live-paid-issuance": "tsx scripts/demo-live-paid-issuance.ts",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:studio": "prisma studio",
"build:access": "node -e \"require('node:fs').rmSync('packages/access/dist', { recursive: true, force: true })\" && tsc -p packages/access/tsconfig.json",
"lint:access:package": "node packages/access/node_modules/publint/src/cli.js run --strict packages/access",
"check:access:types": "attw --pack packages/access --profile esm-only",
"test:access": "vitest run packages/access/test",
"test:access:distribution": "node packages/access/scripts/verify-distribution.mjs",
"verify:access:package": "npm run test:access && npm run build:access && npm run lint:access:package && npm run check:access:types && npm run test:access:distribution",
"test:access:example": "npm run test --workspace @fiberlatch/paid-resource-example",
"demo:access:example": "npm run demo --workspace @fiberlatch/paid-resource-example",
"verify:access:example": "node examples/paid-resource/scripts/verify-packed.mjs",
"verify:access:grant": "npm run prisma:generate && npm test && npm run build && npm run verify:access:package && npm run verify:access:example"
},
"workspaces": [
"packages/*",
"examples/*"
],
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"@prisma/client": "^6.0.0",
"fastify": "^5.0.0",
"jose": "^5.9.6",
"zod": "^3.24.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"prisma": "^6.0.0",
"tsx": "^4.0.0",
"typescript": "^5.7.0",
"vitest": "^2.1.0"
}
}