{
  "name": "@natlibfi/melinda-record-match-validator",
  "version": "2.3.4",
  "description": "Validates if two records matched by melinda-record-matching can be merged and sets merge priority",
  "main": "dist/index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/NatLibFi/melinda-record-match-validator.git"
  },
  "keywords": [
    "Melinda",
    "Marc",
    "Merge"
  ],
  "author": "The National Library of Finland",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/NatLibFi/melinda-record-match-validator/issues"
  },
  "homepage": "https://github.com/NatLibFi/melinda-record-match-validator#readme",
  "engines": {
    "node": ">=18"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "prepare": "npm run build",
    "cli": "node dist/cli.js",
    "lint": "eslint src",
    "lint:dev": "eslint --fix src",
    "test:base": "cross-env NODE_ENV=test nyc mocha --require @babel/register",
    "test": "npm run lint && npm run test:base -- --recursive test",
    "test:dev": "npm run lint:dev && DEBUG='@natlibfi/*' npm run test:base -- --recursive test && npm run coverage",
    "test:dev:collect": "npm run lint:dev && DEBUG='@natlibfi/*' npm run test:base -- test/collectRecordValues.spec.js && npm run coverage",
    "test:dev:compare": "npm run lint:dev && DEBUG='@natlibfi/*' npm run test:base -- test/compareRecordValues.spec.js && npm run coverage",
    "coverage": "nyc check-coverage --per-file",
    "build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist",
    "watch:test": "cross-env NODE_ENV=test nodemon -w src -w test-fixtures --exec 'npm run test:dev'"
  },
  "dependencies": {
    "@natlibfi/marc-record": "^9.1.5",
    "@natlibfi/melinda-commons": "^13.0.20",
    "debug": "^4.4.1",
    "isbn3": "^1.2.11",
    "moment": "^2.30.1"
  },
  "devDependencies": {
    "@babel/cli": "^7.27.2",
    "@babel/core": "^7.27.4",
    "@babel/node": "^7.27.1",
    "@babel/preset-env": "^7.27.2",
    "@babel/register": "^7.27.1",
    "@babel/runtime": "^7.27.6",
    "@natlibfi/eslint-config-melinda-backend": "^3.0.5",
    "@natlibfi/fixugen": "^2.0.14",
    "@natlibfi/fixura": "^3.0.13",
    "babel-plugin-istanbul": "^7.0.0",
    "babel-plugin-rewire": "^1.2.0",
    "chai": "^4.5.0",
    "chai-as-promised": "^7.1.2",
    "cross-env": "^7.0.3",
    "eslint": "^8.57.1",
    "mocha": "^11.7.0",
    "nodemon": "^3.1.10",
    "nyc": "^17.1.0"
  },
  "eslintConfig": {
    "extends": "@natlibfi/melinda-backend"
  },
  "babel": {
    "presets": [
      [
        "@babel/preset-env",
        {
          "targets": "maintained node versions"
        }
      ]
    ],
    "env": {
      "test": {
        "plugins": [
          "istanbul",
          "rewire"
        ]
      }
    }
  },
  "nyc": {
    "exclude": [
      "*/*.spec.js",
      "*/**/*.spec.js"
    ],
    "reporter": [
      "text"
    ],
    "require": [
      "@babel/register"
    ],
    "sourceMap": false,
    "instrument": false,
    "lines": 80,
    "statements": 80,
    "functions": 80,
    "branches": 80
  }
}
