{
  "license": "Apache-2.0",
  "type": "commonjs",
  "author": {
    "name": "Wouter van Heeswijk",
    "email": "woutervh@gmail.com",
    "url": "https://github.com/woutervh-/"
  },
  "name": "openlr-js",
  "description": "OpenLR implementation in JavaScript",
  "version": "3.3.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/tomtom-international/openlr-js.git"
  },
  "main": "lib/es5/index.js",
  "module": "lib/es6/index.js",
  "types": "lib/es6/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/es6/index.d.ts",
      "module": "./lib/es6/index.js",
      "require": "./lib/es5/index.js",
      "default": "./lib/es5/index.js"
    },
    "./lib/*": {
      "types": "./lib/*.d.ts",
      "default": "./lib/*.js"
    },
    "./package.json": "./package.json"
  },
  "sideEffects": false,
  "files": [
    "lib/*"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "clean": "rimraf lib/browser lib/es5 lib/es6",
    "build": "npm run clean && npm run lint && npm run build:es6 && npm run build:es5 && npm run build:browser",
    "build:browser": "rollup --config --bundleConfigAsCjs",
    "build:es5": "tsc --target ES2020 --module CommonJS --outDir lib/es5 --declarationDir lib/es5",
    "build:es6": "tsc --target ES2020 --module ES2020 --outDir lib/es6 --declarationDir lib/es6",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "coverage": "vitest run --coverage",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "buffer": "^6.0.3"
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@rollup/plugin-commonjs": "^28.0.6",
    "@rollup/plugin-node-resolve": "^16.0.1",
    "@rollup/plugin-terser": "^1.0.0",
    "@types/node": "^24.0.3",
    "@vitest/coverage-v8": "^4.1.8",
    "eslint": "^10.4.1",
    "eslint-plugin-headers": "^1.3.4",
    "rimraf": "^6.0.1",
    "rollup": "^4.44.0",
    "typescript": "^5.8.3",
    "typescript-eslint": "^8.60.0",
    "vitest": "^4.1.8"
  }
}
