{
  "name": "@digitalcredentials/bnid",
  "version": "5.0.0",
  "description": "Base-N Id Generator",
  "license": "BSD-3-Clause",
  "scripts": {
    "build": "npm run clear && tsc -d",
    "clear": "rimraf dist/*",
    "lint": "ts-standard --fix --project tsconfig.spec.json",
    "prepare": "npm run build",
    "rebuild": "npm run clear && npm run build",
    "test": "npm run lint && npm run test-node",
    "test-node": "tsc -p tsconfig.spec.json && mocha \"dist/test/**/*.spec.js\""
  },
  "homepage": "https://github.com/digitalcredentials/bnid",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/digitalcredentials/bnid.git"
  },
  "bugs": {
    "url": "https://github.com/digitalcredentials/bnid/issues"
  },
  "files": [
    "dist",
    "src",
    "CHANGELOG.md",
    "README.md",
    "LICENSE"
  ],
  "type": "module",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "dependencies": {
    "base-x": "^5.0.1",
    "react-native-securerandom": "^1.0.1"
  },
  "devDependencies": {
    "@types/chai": "^5.2.1",
    "@types/mocha": "^10.0.1",
    "@types/node": "^22.14.1",
    "cross-env": "^7.0.3",
    "mocha": "^11.7.2",
    "rimraf": "^6.1.3",
    "ts-node": "^10.9.2",
    "ts-standard": "^12.0.2",
    "typescript": "^5.8.3",
    "tsx": "^4.19.4"
  },
  "publishConfig": {
    "access": "public"
  },
  "browser": {
    "./src/util.ts": "./src/util-browser.ts",
    "./dist/util.js": "./dist/util-browser.js",
    "react-native-securerandom": false,
    "buffer": false,
    "crypto": false,
    "util": false
  },
  "react-native": {
    "buffer": false,
    "crypto": false,
    "util": false,
    "./src/util.ts": "./src/util-reactnative.ts",
    "./dist/util.js": "./dist/util-reactnative.js"
  },
  "engines": {
    "node": ">=18"
  },
  "ts-standard": {
    "env": [
      "mocha"
    ],
    "ignore": [
      "dist",
      "test"
    ],
    "globals": [
      "it"
    ]
  },
  "keywords": [
    "id",
    "identifier",
    "random"
  ],
  "author": {
    "name": "Digital Bazaar, Inc.",
    "email": "support@digitalbazaar.com",
    "url": "https://digitalbazaar.com/"
  }
}
