{
  "name": "sync-multihash-sha2",
  "description": "Sync sha-256 & sha-512 multihash implementations",
  "version": "1.0.0",
  "keywords": [
    "multiformats",
    "multihash",
    "sha256",
    "sha512"
  ],
  "files": [
    "src",
    "dist/src"
  ],
  "prettier": {
    "trailingComma": "es5",
    "tabWidth": 2,
    "semi": false,
    "singleQuote": true
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/gozala/sync-multihash-sha2.git"
  },
  "homepage": "https://github.com/Gozala/sync-multihash-sha2",
  "dependencies": {
    "@noble/hashes": "^1.3.1"
  },
  "devDependencies": {
    "@types/node": "20.3.1",
    "multiformats": "^12.0.1",
    "typescript": "^5.1.3",
    "c8": "^7.13.0",
    "entail": "^2.0.2",
    "nyc": "^15.1.0",
    "playwright-test": "git+https://github.com/Gozala/playwright-test.git#feat/any-runner"
  },
  "type": "module",
  "main": "src/lib.js",
  "module": "src/lib.js",
  "types": "./dist/src/lib.d.ts",
  "exports": {
    ".": {
      "types": "./dist/src/lib.d.ts",
      "import": "./src/lib.js",
      "default": "./src/lib.js"
    },
    "./sha256": {
      "types": "./dist/src/sha256/web.d.ts",
      "browser": "./src/sha256/web.js",
      "node": "./src/sha256/node.js"
    },
    "./sha512": {
      "types": "./dist/src/sha512/web.d.ts",
      "browser": "./src/sha512/web.js",
      "node": "./src/sha512/node.js"
    }
  },
  "license": "(Apache-2.0 AND MIT)",
  "scripts": {
    "build": "tsc --build",
    "test:web": "playwright-test test --runner entail test/*.js --cov && nyc report",
    "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 entail 'test/*.spec.js'",
    "test": "c8 entail 'test/*.spec.js'",
    "check": "tsc --build"
  }
}