{
  "name": "shamir-secret-sharing",
  "version": "0.0.4",
  "description": "Simple, independently audited, zero-dependency TypeScript implementation of Shamir's Secret Sharing algorithm",
  "keywords": [
    "shamir",
    "secret",
    "sharing",
    "threshold",
    "cryptography",
    "crypto",
    "keys",
    "mnemonic",
    "typescript",
    "node",
    "browser",
    "web3"
  ],
  "browser": {
    "node:crypto": false
  },
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./esm/index.js",
      "default": "./index.js"
    },
    "./csprng": {
      "types": "./csprng.d.ts",
      "node": {
        "import": "./esm/csprng.node.js",
        "require": "./csprng.node.js"
      },
      "import": "./esm/csprng.js",
      "require": "./csprng.js"
    }
  },
  "files": [
    "/*.js",
    "/*.js.map",
    "/*.d.ts",
    "esm",
    "src"
  ],
  "scripts": {
    "clean": "rm *.{js,d.ts,js.map} esm/*.{js,d.ts,js.map} 2> /dev/null; echo clean",
    "prebuild": "npm run clean",
    "build": "tsc && tsc -p tsconfig.esm.json",
    "lint": "prettier --check 'src/**/*.ts' 'test/**/*.js'",
    "pretest": "npm run build",
    "test": "jest --testMatch \"**/test/**/*.test.js\"",
    "prepublishOnly": "npm run build"
  },
  "author": "privy.io",
  "repository": {
    "type": "git",
    "url": "https://github.com/privy-io/shamir-secret-sharing"
  },
  "license": "Apache-2.0",
  "devDependencies": {
    "jest": "^29.5.0",
    "prettier": "^2.8.3",
    "typescript": "^4.9.4"
  }
}
