{
  "name": "redsys-easy",
  "description": "Node JS interface for Redsys payment gateway",
  "version": "5.3.2",
  "author": "Javier Garcia <javiertury@gmail.com>",
  "license": "MIT",
  "keywords": [
    "redsys",
    "payment",
    "gateway",
    "interface",
    "tpv",
    "pos",
    "sabadell",
    "caixabank",
    "credit",
    "card",
    "webservice"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/javiertury/redsys-easy.git"
  },
  "main": "lib/index.js",
  "module": "lib/index.esm.js",
  "types": "lib/index.d.ts",
  "files": [
    "lib"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*.{js,ts}": "eslint"
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm exec lint-staged",
    "commit-msg": "pnpm exec commitlint -e"
  },
  "dependencies": {
    "base64url": "^3.0.1",
    "dayjs": "^1.11.9",
    "decimal.js": "^10.4.3",
    "fast-xml-parser": "^5.0.6",
    "tslib": "^2.6.1",
    "undici": "^7.0.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^17.6.7",
    "@commitlint/config-conventional": "^17.6.7",
    "@koa/router": "^12.0.0",
    "@microsoft/api-documenter": "^7.28.0",
    "@microsoft/api-extractor": "^7.36.3",
    "@rollup/plugin-node-resolve": "^15.1.0",
    "@types/cheerio": "^0.22.31",
    "@types/jest": "^30.0.0",
    "@types/koa": "^3.0.0",
    "@types/koa-bodyparser": "^4.3.10",
    "@types/koa__router": "^12.0.0",
    "cheerio": "1.0.0-rc.12",
    "commit-and-tag-version": "^12.5.0",
    "eslint": "^9.39.1",
    "eslint-config-love": "^114.0.0",
    "eslint-plugin-jest": "^28.14.0",
    "jest": "^30.2.0",
    "koa": "^3.0.0",
    "koa-bodyparser": "^4.4.1",
    "lint-staged": "^15.3.0",
    "markdown-magic": "^4.0.4",
    "rimraf": "^6.1.2",
    "rollup": "^3.29.5",
    "rollup-plugin-typescript2": "^0.35.0",
    "simple-git-hooks": "^2.9.0",
    "ts-expect": "^1.3.0",
    "ts-jest": "^29.4.5",
    "typescript": "^5.1.6"
  },
  "jest": {
    "preset": "ts-jest/presets/js-with-ts",
    "testEnvironment": "node",
    "testMatch": [
      "<rootDir>/test/unit/**/*.test.ts",
      "<rootDir>/test/integration/**/*.test.ts",
      "<rootDir>/src/**/*.test.ts"
    ],
    "setupFilesAfterEnv": [
      "./test/jest.setup.ts"
    ],
    "transform": {
      "^.+\\.tsx?$": [
        "ts-jest",
        {
          "tsconfig": "tsconfig.test.json"
        }
      ]
    },
    "moduleNameMapper": {
      "redsys-easy": "<rootDir>/src"
    }
  },
  "scripts": {
    "lint": "eslint .",
    "build:clean": "rimraf lib",
    "build:code": "rollup -c rollup.config.mjs",
    "build:api": "api-extractor run --local",
    "build": "pnpm run build:clean && pnpm run lint && pnpm run build:code && pnpm run build:api",
    "test:unit": "jest ./src/*.test.ts ./src/**/*.test.ts",
    "test:integration": "jest ./test/integration/**/*.test.ts",
    "test:code": "jest",
    "test:readme": "tsc -p ./tsconfig.readme.json",
    "test": "pnpm run test:code && pnpm run test:readme",
    "docs:api": "api-documenter markdown --input-folder ./api/temp --output-folder ./docs",
    "docs:readme": "md-magic --files ./README.md",
    "docs": "pnpm run docs:api && pnpm run docs:readme",
    "release": "pnpm run test && commit-and-tag-version --dry-run && pnpm run docs && git add docs CHANGELOG.md && commit-and-tag-version --commit-all"
  }
}