{ "name": "@siwats/mxrelay-consumer", "version": "1.2.5", "description": "An internal TypeScript client library for transporting SMTP messages", "main": "lib/index.js", "module": "lib/index.esm.js", "types": "lib/index.d.ts", "files": [ "lib/**/*", "src/**/*", "README.md", "LICENSE", "tsconfig*.json" ], "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.esm.js", "require": "./lib/index.js" }, "./types": { "types": "./lib/types.d.ts", "import": "./lib/types.esm.js", "require": "./lib/types.js" } }, "scripts": { "build": "npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json && cp lib-esm/index.js lib/index.esm.js && cp lib-esm/types.js lib/types.esm.js", "build:types": "tsc -p tsconfig.types.json", "clean": "rimraf lib lib-esm", "prepublishOnly": "npm run clean && npm run build", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts && tsc --noEmit", "lint:fix": "eslint src/**/*.ts --fix", "lint:tsc": "tsc --noEmit", "lint:eslint": "eslint src/**/*.ts", "lint:eslint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write 'src/**/*.ts'", "docs": "typedoc src/index.ts", "example:basic": "ts-node examples/basic-usage.ts", "example:queue": "ts-node examples/queue-management.ts" }, "keywords": [ "smtp", "websocket", "email", "relay", "queue", "client", "typescript", "async", "promise", "reconnection", "siwats" ], "author": { "name": "Siwat Sirichai", "email": "siwat@siwatinc.com", "url": "https://siwatsystem.com" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://git.siwatsystem.com/siwatsystem-public/mxrelay-consumer.git" }, "bugs": { "url": "https://git.siwatsystem.com/siwatsystem-public/mxrelay-consumer/issues" }, "homepage": "https://git.siwatsystem.com/siwatsystem-public/mxrelay-consumer#readme", "engines": { "node": ">=16.0.0" }, "dependencies": { "nodemailer": "^7.0.5", "ws": "^8.14.2" }, "peerDependencies": { "@types/node": ">=16" }, "devDependencies": { "@types/jest": "^29.5.5", "@types/node": "^20.6.3", "@types/nodemailer": "^6.4.8", "@types/ws": "^8.5.6", "@typescript-eslint/eslint-plugin": "^6.7.2", "@typescript-eslint/parser": "^6.7.2", "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.7.0", "prettier": "^3.0.3", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typedoc": "^0.25.1", "typescript": "^5.2.2" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }