{
  "name": "@biblioteksentralen/marc",
  "version": "0.4.0",
  "private": false,
  "type": "module",
  "description": "MARC record parser and serializer",
  "author": "Biblioteksentralen",
  "license": "MIT",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    "import": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "require": {
      "types": "./dist/index.d.cts",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "README.md",
    "LICENSE",
    "dist/**/*.{js,cjs,mjs,ts,d.ts,d.cts}"
  ],
  "dependencies": {
    "ajv": "^8.17.1",
    "zod": "^4.3.6",
    "@biblioteksentralen/xml-utils": "^0.0.3"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.15.4",
    "@types/json-schema": "^7.0.15",
    "@types/node": "^24.11.0",
    "eslint": "^9.26.0",
    "rimraf": "^5.0.5",
    "tsup": "^8.0.2",
    "typescript": "^5.6.2",
    "vitest": "^3.1.2",
    "@dataplattform/eslint-config": "1.0.0"
  },
  "scripts": {
    "dev": "tsup src/index.ts --format cjs,esm --dts --treeshake --watch",
    "build": "tsup src/index.ts --format cjs,esm --dts --treeshake",
    "test": "vitest run --poolOptions.threads.singleThread --reporter=verbose",
    "test:watch": "vitest",
    "clean": "rimraf dist",
    "lint": "eslint .",
    "lint:package": "attw --pack"
  }
}