{
  "name": "smtp2go-nodejs",
  "version": "1.0.0",
  "type": "module",
  "types": "./build/src/lib/index.d.ts",
  "description": "NodeJS Library for interacting with the SMTP2GO API",
  "main": "./build/index.node.cjs",
  "browser": "./build/index.browser.js",
  "sideEffects": false,
  "exports": {
    ".": {
      "types": {
        "browser": "./build/src/lib/index.browser.d.ts",
        "default": "./build/src/lib/index.d.ts"
      },
      "browser": {
        "default": "./build/index.browser.js"
      },
      "require": "./build/index.node.cjs",
      "import": "./build/index.node.js",
      "default": "./build/index.node.js"
    }
  },
  "files": [
    "build"
  ],
  "scripts": {
    "build": "npx vite build -c vite.nodeconfig.build.ts && npx vite build -c vite.config.build.ts && tsc",
    "test": "jest",
    "coverage": "npm run test -- --coverage",
    "prepare": "npm run build",
    "publishdev": "npm publish --tag dev"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/smtp2go-oss/nodejs.git"
  },
  "author": "SMTP2GO <hello@smtp2go.com> (https://github.com/smtp2go-oss)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/smtp2go-oss/nodejs/issues"
  },
  "homepage": "https://github.com/smtp2go-oss/nodejs",
  "engines": {
    "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
  },
  "keywords": [
    "smtp",
    "smtp2go",
    "mail",
    "email",
    "transactional",
    "api",
    "typescript"
  ],
  "devDependencies": {
    "@types/jest": "^30.0.0",
    "@types/mime-types": "^3.0.1",
    "@types/node": "^25.9.1",
    "@typescript-eslint/eslint-plugin": "^8.42.0",
    "@typescript-eslint/parser": "^8.42.0",
    "dotenv": "^17.2.2",
    "eslint": "^9.34.0",
    "jest": "^30.1.3",
    "ts-jest": "^29.4.1",
    "typescript": "^5.9.2",
    "vite": "^7.1.5"
  },
  "dependencies": {
    "axios": "^1.11.0",
    "mime-types": "^3.0.1"
  },
  "np": {
    "yarn": false,
    "contents": "build"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  }
}
