{
  "name": "sigilid",
  "version": "1.2.0",
  "description": "A tiny, tree-shakeable ID toolkit for TypeScript apps. Secure core with optional subpath exports for prefixed IDs, typed IDs, validation, and custom alphabets.",
  "license": "MIT",
  "author": "moritzmyrz",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/moritzmyrz/sigilid.git"
  },
  "homepage": "https://github.com/moritzmyrz/sigilid#readme",
  "bugs": {
    "url": "https://github.com/moritzmyrz/sigilid/issues"
  },
  "engines": {
    "node": ">=20"
  },
  "keywords": [
    "id",
    "uid",
    "uuid",
    "nanoid",
    "generate",
    "typescript",
    "secure",
    "random",
    "prefixed-id",
    "typed-id",
    "url-safe",
    "tree-shakeable",
    "esm"
  ],
  "type": "module",
  "sideEffects": false,
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./native": {
      "types": "./dist/native.d.ts",
      "node": "./dist/native.js"
    },
    "./non-secure": {
      "types": "./dist/non-secure.d.ts",
      "import": "./dist/non-secure.js"
    },
    "./prefix": {
      "types": "./dist/prefix.d.ts",
      "import": "./dist/prefix.js"
    },
    "./typed": {
      "types": "./dist/typed.d.ts",
      "import": "./dist/typed.js"
    },
    "./validate": {
      "types": "./dist/validate.d.ts",
      "import": "./dist/validate.js"
    },
    "./alphabet": {
      "types": "./dist/alphabet.d.ts",
      "import": "./dist/alphabet.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsup",
    "build:native-addon": "npm --prefix packages/native-addon run build",
    "prebuild:native-addon": "npm --prefix packages/native-addon run prebuild",
    "release:check": "npm run lint && npm run typecheck && npm run test && npm run build",
    "release:pack": "npm pack && npm pack ./packages/native-addon",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "format": "biome format --write .",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf dist *.tsbuildinfo",
    "verify": "npm run lint && npm run typecheck && npm run test && npm run build",
    "playground": "tsx tools/playground.ts",
    "bench": "tsx tools/benchmark.ts",
    "bench:native": "tsx tools/benchmark-native.ts"
  },
  "size-limit": [
    {
      "path": "dist/index.js",
      "brotli": true,
      "limit": "265 B"
    },
    {
      "path": "dist/non-secure.js",
      "brotli": true,
      "limit": "245 B"
    },
    {
      "path": "dist/prefix.js",
      "brotli": true,
      "limit": "385 B"
    },
    {
      "path": "dist/typed.js",
      "brotli": true,
      "limit": "420 B"
    },
    {
      "path": "dist/validate.js",
      "brotli": true,
      "limit": "395 B"
    },
    {
      "path": "dist/alphabet.js",
      "brotli": true,
      "limit": "415 B"
    }
  ],
  "devDependencies": {
    "@sigilid/native-addon": "file:packages/native-addon",
    "@types/node": "^24.5.2",
    "@biomejs/biome": "^1.9.4",
    "@size-limit/preset-small-lib": "^12.0.1",
    "@vitest/coverage-v8": "^3.0.7",
    "size-limit": "^12.0.1",
    "tinybench": "^3.1.1",
    "tsup": "^8.3.5",
    "tsx": "^4.19.2",
    "typescript": "^5.7.3",
    "vitest": "^3.0.7"
  }
}
