diff --git a/README.md b/README.md index 550807f..2774f7f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # alegra-api-client +[![CI](https://github.com/garydormoi/alegra-api-client/actions/workflows/ci.yml/badge.svg)](https://github.com/garydormoi/alegra-api-client/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) + Cliente ligero y **tipado** (TypeScript) para la [API de Alegra](https://developer.alegra.com/). Cubre lo esencial de la capa de integración: **autenticación**, **paginación** y **manejo de rate limits** con reintentos, sobre `contactos`, `ítems` y `facturas`. diff --git a/package.json b/package.json index 32118df..94bf419 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "build": "tsc -p tsconfig.json", "test": "vitest run", "test:watch": "vitest", - "lint:types": "tsc --noEmit" + "lint:types": "tsc --noEmit", + "prepublishOnly": "npm run build" }, "keywords": [ "alegra", @@ -38,5 +39,17 @@ "@types/node": "^20.14.0", "typescript": "^5.5.0", "vitest": "^2.0.0" + }, + "author": "Gary Dormoi", + "repository": { + "type": "git", + "url": "git+https://github.com/garydormoi/alegra-api-client.git" + }, + "homepage": "https://github.com/garydormoi/alegra-api-client#readme", + "bugs": { + "url": "https://github.com/garydormoi/alegra-api-client/issues" + }, + "publishConfig": { + "access": "public" } }