{
  "name": "onlinepayments-sdk-nodejs",
  "version": "9.3.1",
  "description": "SDK to communicate with the Online Payments platform using the Online Payments Server API",
  "homepage": "https://github.com/wl-online-payments-direct/sdk-nodejs#readme",
  "bugs": {
    "url": "https://github.com/wl-online-payments-direct/sdk-nodejs/issues"
  },
  "license": "SEE LICENSE IN LICENSE.txt",
  "author": "Online Payments",
  "files": [
    "lib"
  ],
  "type": "module",
  "main": "./lib/cjs/src/index.js",
  "module": "./lib/esm/src/index.js",
  "types": "./lib/esm/src/index.d.ts",
  "exports": {
    "import": "./lib/esm/src/index.js",
    "require": "./lib/cjs/src/index.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wl-online-payments-direct/sdk-nodejs.git"
  },
  "scripts": {
    "compile": "tsc",
    "lint": "eslint ./src --ext .ts",
    "format": "prettier --write \"**/*.+(json|ts|tsx)\"",
    "format:check": "prettier --check \"**/*.+(json|ts|tsx)\"",
    "typedoc": "typedoc",
    "build": "npm run format:check && npm run lint && npm run compile && npm run build:cjs && npm run build:esm && npm run fix-packages",
    "fix-packages": "node -e \"require('fs').writeFileSync('lib/cjs/package.json','{\\\"type\\\":\\\"commonjs\\\"}');require('fs').writeFileSync('lib/esm/package.json','{\\\"type\\\":\\\"module\\\"}')\"",
    "build:cjs": "tsc --project tsconfig.cjs.json",
    "build:esm": "tsc --project tsconfig.esm.json",
    "prepare": "npm run format && npm run build",
    "test": "jest",
    "test:unit": "jest --selectProjects unit",
    "test:integration": "jest --selectProjects integration -u"
  },
  "dependencies": {
    "dateformat": "^4.6.3",
    "form-data": "^4.0.0",
    "jsonschema": "^1.4.1",
    "lodash": "^4.17.21",
    "multer": "^2.0.2",
    "secure-compare": "^3.0.1",
    "uuid": "^9.0.1"
  },
  "devDependencies": {
    "@stoplight/prism-cli": "^5.12.0",
    "@types/body-parser": "^1.19.5",
    "@types/dateformat": "^3.0.1",
    "@types/express": "^4.17.21",
    "@types/jest": "^29.5.14",
    "@types/lodash": "^4.17.4",
    "@types/multer": "^2.1.0",
    "@types/node": "^18.19.33",
    "@types/supertest": "^6.0.2",
    "@types/uuid": "^9.0.8",
    "@typescript-eslint/eslint-plugin": "^7.9.0",
    "@typescript-eslint/parser": "^7.9.0",
    "body-parser": "1.20.3",
    "eslint": "8.56",
    "express": "^5.0.1",
    "husky": "^4.3.8",
    "jest": "^29.7.0",
    "jest-dev-server": "^11.0.0",
    "multer": "^2.0.2",
    "nock": "^13.5.4",
    "prettier": "^1.19.1",
    "supertest": "^7.0.0",
    "ts-jest": "^29.3.0",
    "ts-node": "^10.9.2",
    "typedoc": "^0.25.13",
    "typescript": "^5.4.5"
  },
  "engines": {
    "node": ">=18"
  },
  "eslintConfig": {
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint"
    ],
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
      "@typescript-eslint/no-explicit-any": "off"
    }
  },
  "prettier": {
    "printWidth": 180
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run format:check && npm run lint"
    }
  }
}
