{
  "name": "simpleflakes",
  "version": "4.3.0",
  "description": "Fast, lightweight, and reliable distributed 64-bit ID generation with zero dependencies for Node.js and the web.",
  "main": "dist/simpleflakes.js",
  "module": "dist/simpleflakes.mjs",
  "types": "dist/simpleflakes.d.ts",
  "exports": {
    ".": {
      "types": "./dist/simpleflakes.d.ts",
      "import": "./dist/simpleflakes.mjs",
      "require": "./dist/simpleflakes.js"
    }
  },
  "files": [
    "dist/",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "npm run type-check && npm run build:js && npm run build:dts",
    "build:js": "npm run build:js:cjs && npm run build:js:esm",
    "build:js:cjs": "swc src/simpleflakes.ts -o dist/simpleflakes.js --source-maps --config-file .swcrc-cjs",
    "build:js:esm": "swc src/simpleflakes.ts -o dist/simpleflakes.mjs --source-maps --config-file .swcrc",
    "build:dts": "tsc --emitDeclarationOnly",
    "build:clean": "rimraf dist",
    "lint": "eslint eslint.config.js benchmark scripts src tests --ext .js,.ts",
    "prebuild": "npm run build:clean",
    "postbuild": "echo 'Build complete. Output in ./dist/'",
    "type-check": "tsc --noEmit",
    "check:commit": "npm run type-check && npm run lint && npm test",
    "check:release": "npm run build && npm run lint && npm run test:unit && npm run test:package-smoke",
    "test": "npm run build && npm run test:unit",
    "test:unit": "tape tests/**/*.js | faucet",
    "test:package-smoke": "node scripts/test-package-smoke.js",
    "test:ci": "npm run test:coverage",
    "test:coverage": "npm run build && nyc --instrument --source-map=false tape tests/**/*.js",
    "test:coverage:report": "nyc report --reporter=html && echo '\nHTML coverage report generated in ./coverage/index.html'",
    "test:coverage:ci": "npm run test:coverage && cat ./coverage/lcov.info",
    "test:coverage:clean": "rimraf coverage .nyc_output",
    "benchmark": "npm run build && node benchmark/run.js",
    "clean": "npm run build:clean && npm run test:coverage:clean",
    "prepare": "husky",
    "prepublishOnly": "npm run check:release"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/leodutra/simpleflakes.git"
  },
  "keywords": [
    "simpleflake",
    "snowflake",
    "snowflake-id",
    "id-generator",
    "unique-id",
    "sortable-id",
    "time-ordered",
    "64-bit",
    "bigint",
    "distributed-id",
    "database-id",
    "uuid",
    "uuidv7",
    "nanoid",
    "ksuid",
    "webcrypto",
    "zero-dependency",
    "typescript",
    "nodejs",
    "browser"
  ],
  "author": {
    "name": "Leonardo Dutra",
    "email": "leodutra.br@gmail.com",
    "url": "https://github.com/leodutra"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/leodutra/simpleflakes/issues"
  },
  "homepage": "https://github.com/leodutra/simpleflakes#readme",
  "engines": {
    "node": ">=16.0.0"
  },
  "devDependencies": {
    "@swc/cli": "0.8.1",
    "@swc/core": "1.15.40",
    "@eslint/js": "10.0.1",
    "@typescript-eslint/eslint-plugin": "8.60.1",
    "@typescript-eslint/parser": "8.60.1",
    "@types/node": "25.9.1",
    "benchmark": "2.1.4",
    "eslint": "10.4.1",
    "faucet": "0.0.4",
    "globals": "17.6.0",
    "husky": "9.1.7",
    "nyc": "18.0.0",
    "rimraf": "6.1.3",
    "tape": "5.9.0",
    "tsx": "4.22.4",
    "typescript": "6.0.3"
  }
}
