{
  "name": "ntp-time-sync",
  "version": "0.7.0",
  "description": "Fetches the current time from NTP servers and returns offset information",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/cjs/index.d.ts",
  "type": "commonjs",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    },
    "./package.json": "./package.json"
  },
  "sideEffects": false,
  "dependencies": {
    "ntp-packet-parser": "^0.6.1"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "0.18.5",
    "@types/node": "^22 || ^24 || ^26",
    "prettier": "3.9.8",
    "publint": "0.3.24",
    "typescript": "7.0.2"
  },
  "scripts": {
    "prepublishOnly": "npm run prettier:lint && npm run build",
    "clean": "rm -rf dist",
    "build:cjs": "tsc -p tsconfig.cjs.json && node scripts/write-package-type.mjs cjs",
    "build:esm": "tsc -p tsconfig.esm.json && node scripts/write-package-type.mjs esm",
    "build": "npm run build:cjs && npm run build:esm",
    "test:integration:cjs": "node test/integration/cjs.cjs",
    "test:integration:esm": "node test/integration/esm.mjs",
    "test:integration:deno": "deno run --allow-read test/integration/deno.ts && deno run --allow-read test/integration/deno-esm.ts",
    "test:integration": "npm run test:integration:cjs && npm run test:integration:esm",
    "test:unit": "node scripts/run-unit-tests.mjs",
    "prettier": "prettier --write src/**/*.ts",
    "prettier:lint": "prettier --list-different src/**/*.ts",
    "verify:pack": "npm pack --dry-run",
    "verify:publint": "publint",
    "verify:attw": "attw --pack .",
    "verify:package": "npm run build && npm run verify:pack && npm run verify:publint && npm run verify:attw"
  },
  "keywords": [
    "ntp",
    "clock",
    "sync",
    "parser",
    "udp",
    "time"
  ],
  "author": "Laurens Stötzel",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/buffcode/ntp-time-sync.git"
  },
  "files": [
    "dist"
  ],
  "license": "GPL-3.0",
  "prettier": {
    "printWidth": 120,
    "trailingComma": "es5"
  },
  "engines": {
    "node": "^22 || ^24 || ^26"
  },
  "devEngines": {
    "packageManager": {
      "name": "npm",
      "version": ">=12.0.0",
      "onFail": "error"
    }
  },
  "packageManager": "npm@12.0.2"
}
