-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 2.84 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
108
109
110
{
"name": "pi-spi-sdk",
"version": "0.2.0",
"description": "TypeScript SDK for the π-SPI Business API. Built by lomi. for the West African fintech community",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.umd.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./qrcode": {
"types": "./dist/qrcode/index.d.ts",
"import": "./dist/qrcode/index.mjs",
"require": "./dist/qrcode/index.cjs",
"default": "./dist/qrcode/index.mjs"
},
"./umd": {
"default": "./dist/index.umd.js"
}
},
"files": [
"dist",
"scripts",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup --config tsup.config.ts",
"dev": "tsup --config tsup.config.ts --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"knip": "knip --no-config-hints",
"format": "prettier --check \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\" \"scripts/**/*.{js,ts}\"",
"format:fix": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\" \"scripts/**/*.{js,ts}\"",
"prepublishOnly": "pnpm run generate && pnpm run build && pnpm run typecheck && pnpm test",
"generate": "node scripts/pre-generate.js && openapi --input ./openapi.json --output ./src/generated --client axios --useOptions && node scripts/post-generate.js"
},
"keywords": [
"pi-spi",
"spi",
"bceao",
"west-africa",
"uemoa",
"payment",
"interoperability",
"mobile-money",
"xof",
"fcfa",
"cfa-franc",
"fintech",
"sdk",
"typescript",
"api-client",
"benin",
"burkina-faso",
"ivory-coast",
"mali",
"niger",
"senegal",
"togo",
"guinea-bissau"
],
"author": "Babacar Diop <babacar@lomi.africa> (https://lomi.africa)",
"license": "MIT",
"homepage": "https://github.com/lomiafrica/pi-spi-sdk",
"bugs": {
"url": "https://github.com/lomiafrica/pi-spi-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lomiafrica/pi-spi-sdk.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@lomi./shared": "file:../../../packages/shared",
"axios": "^1.20.0",
"dotenv": "^16.6.1",
"form-data": "^4.0.6",
"qrcode": "^1.5.4"
},
"devDependencies": {
"@types/form-data": "^2.5.2",
"@types/node": "^20.19.43",
"@types/qrcode": "^1.5.6",
"knip": "5.63.0",
"openapi-typescript-codegen": "^0.29.0",
"prettier": "^3.9.6",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.11"
},
"pnpm": {
"overrides": {
"nanoid": "^3.3.18"
}
}
}