Update package.json with improved metadata and version bump

- Bump version to 1.1.0
- Update description to be more comprehensive
- Update repository URLs to correct GitHub username
- Add funding information
- Add new keywords (bolt11, lightning-network, payment, redemption)
- Add docs script for API documentation
- Improve overall package metadata
This commit is contained in:
Michilis
2025-07-15 17:43:32 +00:00
parent 961380dd88
commit 52d4735712

View File

@@ -1,14 +1,15 @@
{ {
"name": "cashu-redeem-api", "name": "cashu-redeem-api",
"version": "1.0.0", "version": "1.1.0",
"description": "Redeem ecash (Cashu tokens) to Lightning Address using cashu-ts library and LNURLp", "description": "A production-grade API for redeeming Cashu tokens (ecash) to Lightning addresses using the cashu-ts library and LNURLp protocol",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"start": "node server.js", "start": "node server.js",
"dev": "nodemon server.js", "dev": "nodemon server.js",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint .", "lint": "eslint .",
"lint:fix": "eslint . --fix" "lint:fix": "eslint . --fix",
"docs": "echo \"API documentation available at http://localhost:3000/docs\""
}, },
"keywords": [ "keywords": [
"cashu", "cashu",
@@ -19,10 +20,18 @@
"lnurl", "lnurl",
"lnurlp", "lnurlp",
"mint", "mint",
"satoshi" "satoshi",
"bolt11",
"lightning-network",
"payment",
"redemption"
], ],
"author": "", "author": "Michilis",
"license": "MIT", "license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/Michilis"
},
"dependencies": { "dependencies": {
"@cashu/cashu-ts": "^1.1.0", "@cashu/cashu-ts": "^1.1.0",
"axios": "^1.7.7", "axios": "^1.7.7",
@@ -44,10 +53,10 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/yourusername/cashu-redeem-api.git" "url": "git+https://github.com/Michilis/cashu-redeem-api.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/yourusername/cashu-redeem-api/issues" "url": "https://github.com/Michilis/cashu-redeem-api/issues"
}, },
"homepage": "https://github.com/yourusername/cashu-redeem-api#readme" "homepage": "https://github.com/Michilis/cashu-redeem-api#readme"
} }