{
  "name": "coupan-code",
  "version": "1.0.4",
  "description": "Easy-to-use TypeScript/Node.js package for referral codes, coupon codes, promo codes, and discount codes. Create, verify, and manage discount codes with MongoDB. Supports percentage discounts, fixed amount discounts, usage limits, and custom codes. Zero configuration - just API key and you're ready!",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "scripts": {
    "build": "tsc",
    "build:prod": "tsc -p tsconfig.prod.json",
    "build:obfuscate": "npm run build:prod && npm run obfuscate",
    "obfuscate": "node scripts/obfuscate.js",
    "start": "node dist/index.js",
    "dev": "ts-node src/index.ts",
    "watch": "tsc --watch",
    "test": "ts-node test.ts",
    "prepublishOnly": "echo '⚠️  Make sure COUPAN_CODE_MONGODB_URI is set before publishing!' && npm run build:obfuscate"
  },
  "keywords": [
    "referral-code",
    "referral",
    "coupon",
    "coupon-code",
    "promo-code",
    "promo",
    "discount",
    "discount-code",
    "voucher",
    "voucher-code",
    "promotional-code",
    "promotion-code",
    "discount-management",
    "coupon-management",
    "referral-system",
    "promo-code-generator",
    "discount-generator",
    "typescript",
    "nodejs",
    "node",
    "mongodb",
    "mongoose",
    "sdk",
    "api",
    "ecommerce",
    "shopping-cart",
    "checkout",
    "payment",
    "marketing",
    "affiliate",
    "affiliate-program",
    "loyalty",
    "loyalty-program",
    "reward",
    "reward-system"
  ],
  "author": {
    "name": "alpha-avadh",
    "email": "kakadiyaavadh44@gmail.com"
  },
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "https://github.com/avadhK02/coupan-code-sdk"
  },
  "homepage": "https://github.com/avadhK02/coupan-code-sdk#readme",
  "bugs": {
    "url": "https://github.com/avadhK02/coupan-code-sdk/issues",
    "email": "kakadiyaavadh44@gmail.com"
  },
  "dependencies": {
    "mongoose": "^8.0.0",
    "dotenv": "^16.3.1"
  },
  "devDependencies": {
    "@types/node": "^20.10.0",
    "@types/mongoose": "^5.11.97",
    "typescript": "^5.3.3",
    "ts-node": "^10.9.2",
    "javascript-obfuscator": "^4.1.0",
    "glob": "^10.3.10"
  }
}

