UNPKG

mailpit-api

Version:

A TypeScript client for interacting with Mailpit's REST API.

86 lines (85 loc) 2.02 kB
{ "name": "mailpit-api", "version": "1.7.0", "description": "A TypeScript client for interacting with Mailpit's REST API.", "repository": { "type": "git", "url": "git+https://github.com/mpspahr/mailpit-api.git" }, "homepage": "https://mpspahr.github.io/mailpit-api/", "bugs": { "url": "https://github.com/mpspahr/mailpit-api/issues" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "provenance": true, "access": "public" }, "engines": { "node": ">=18.0.0" }, "main": "dist/index.js", "module": "dist/index.mjs", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "scripts": { "test:unit": "jest tests/index.spec.ts", "test:e2e": "jest tests/index.e2e.spec.ts --runInBand", "test": "jest", "coverage": "jest --coverage", "build": "tsup src/index.ts --dts --format esm,cjs --outDir dist", "pretty": "npx prettier . --write", "lint": "npx eslint --fix src tests", "docs": "typedoc" }, "keywords": [ "mailpit", "api", "client", "email", "smtp", "typescript", "test", "playwright", "e2e", "nodejs", "testing", "automation", "integration" ], "author": "Matthew Spahr", "license": "MIT", "dependencies": { "axios": "^1.12.1", "partysocket": "^1.1.10", "ws": "^8.18.3" }, "devDependencies": { "@eslint/js": "^9.39.2", "@jest/globals": "^30.2.0", "@types/node": "^24.10.9", "@types/ws": "^8.18.1", "dotenv": "^17.2.3", "eslint": "^9.39.2", "eslint-plugin-jest": "^29.12.1", "jest": "^30.2.0", "prettier": "^3.8.1", "ts-jest": "^29.4.6", "tsup": "^8.5.1", "tsx": "^4.21.0", "typedoc": "^0.28.16", "typedoc-github-theme": "^0.3.1", "typescript": "^5.9.3", "typescript-eslint": "^8.54.0" } }