{
  "name": "@erseco/autofirma-client",
  "version": "1.9.3",
  "description": "Cliente TypeScript moderno para integrar AutoScript y AutoFirma en aplicaciones web",
  "keywords": [
    "autofirma",
    "autoscript",
    "firma-electronica",
    "pades",
    "cades",
    "xades"
  ],
  "license": "GPL-2.0-or-later",
  "author": "Ernesto Serrano",
  "homepage": "https://erseco.github.io/autofirma-client/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/erseco/autofirma-client.git"
  },
  "bugs": {
    "url": "https://github.com/erseco/autofirma-client/issues"
  },
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./testing": {
      "types": "./dist/testing/index.d.ts",
      "import": "./dist/testing/index.js",
      "require": "./dist/testing/index.cjs"
    },
    "./autoscript.js": "./vendor/autoscript.js"
  },
  "files": [
    "dist",
    "vendor",
    "LICENSE",
    "README.md"
  ],
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "tsup && tsc -p tsconfig.build.json",
    "build:web": "npm run vendor && tsup --config tsup.web.config.ts && cp web/index.html web/styles.css vendor/autoscript.js site/",
    "check": "npm run format:check && npm run typecheck && npm test && npm run build",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "prepack": "npm run vendor && npm run build",
    "prepare": "npm run build && npm run vendor",
    "test": "vitest run --coverage",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "vendor": "tsup scripts/vendor-autoscript.ts --format esm --out-dir .vendor-script && node .vendor-script/vendor-autoscript.js"
  },
  "publishConfig": {
    "access": "public"
  },
  "autofirmaCompatibility": {
    "autoscript": "1.9",
    "autofirma": ">=1.9"
  },
  "devDependencies": {
    "@types/node": "^26.1.2",
    "@vitest/coverage-v8": "^5.0.0",
    "prettier": "^3.6.2",
    "tsup": "^8.5.0",
    "typescript": "^7.0.2",
    "vitest": "^5.0.0"
  }
}
