{
  "name": "@docuseal/api",
  "version": "1.0.17",
  "description": "JavaScript / TypeScript library for the DocuSeal API",
  "main": "cjs/index.cjs.js",
  "module": "esm/index.js",
  "types": "types/index.d.ts",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/docusealco/docuseal-js.git"
  },
  "exports": {
    "types": "./types/index.d.ts",
    "default": {
      "import": "./esm/index.js",
      "require": "./cjs/index.cjs.js"
    }
  },
  "keywords": [
    "esignature",
    "documents"
  ],
  "author": "DocuSeal <support@docuseal.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/docusealco/docuseal-js/issues"
  },
  "homepage": "https://www.docuseal.com/docs/api?lang=javascript",
  "devDependencies": {
    "@hey-api/openapi-ts": "^0.60.1",
    "@types/node": "^22.10.2",
    "prettier": "^3.4.2",
    "typescript": "^5.7.2",
    "undici-types": "^7.2.0"
  },
  "files": [
    "cjs",
    "esm",
    "types"
  ],
  "scripts": {
    "build": "rm -rf ./esm ./cjs ./types && yarn build-esm && yarn build-cjs && yarn build-types",
    "build-esm": "tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > esm/package.json",
    "build-cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > cjs/package.json",
    "build-types": "tsc -p tsconfig.esm.json --declaration --emitDeclarationOnly --outDir ./types",
    "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
    "generate-types": "node generate-types.js && prettier src/types.ts --write"
  }
}
