{
  "name": "binpackingjs",
  "version": "4.1.0",
  "description": "2D and 3D Bin Packing library with TypeScript and immutable design",
  "type": "module",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/types/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/types/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    },
    "./2d": {
      "import": {
        "types": "./dist/types/2d/index.d.ts",
        "default": "./dist/esm/2d/index.js"
      },
      "require": {
        "types": "./dist/types/2d/index.d.ts",
        "default": "./dist/cjs/2d/index.js"
      }
    },
    "./3d": {
      "import": {
        "types": "./dist/types/3d/index.d.ts",
        "default": "./dist/esm/3d/index.js"
      },
      "require": {
        "types": "./dist/types/3d/index.d.ts",
        "default": "./dist/cjs/3d/index.js"
      }
    }
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/olragon/binpackingjs"
  },
  "files": ["dist", "src", "LICENSE", "README.md"],
  "scripts": {
    "build": "bun run build:esm && bun run build:cjs && bun run build:types",
    "build:esm": "bun build src/index.ts src/2d/index.ts src/3d/index.ts --outdir dist/esm --format esm --splitting",
    "build:cjs": "bun build src/index.ts src/2d/index.ts src/3d/index.ts --outdir dist/cjs --format cjs",
    "build:types": "tsc --emitDeclarationOnly --outDir dist/types",
    "test": "bun test",
    "clean": "rm -rf dist",
    "typecheck": "tsc --noEmit",
    "playground:dev": "cd playground && bun run dev",
    "playground:build": "cd playground && bun run build"
  },
  "author": "Long Nguyen",
  "license": "MIT",
  "devDependencies": {
    "@types/bun": "^1.3.14",
    "typescript": "^5.8"
  }
}
