{
  "name": "order-state-machine",
  "version": "0.0.1",
  "description": "A generic, fully-typed state machine for food delivery, logistics, ride-hailing, e-commerce, or any order lifecycle. Zero runtime dependencies.",
  "author": "Badmus Sulaimon <haryobamy@gmail.com> (https://github.com/haryobamy)",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/haryobamy/order-state-machine"
  },
  "homepage": "https://github.com/haryobamy/order-state-machine#readme",
  "bugs": {
    "url": "https://github.com/haryobamy/order-state-machine/issues"
  },
  "keywords": [
    "state-machine",
    "order",
    "delivery",
    "logistics",
    "food-delivery",
    "fintech",
    "typescript",
    "fsm",
    "workflow",
    "ride-hailing",
    "e-commerce",
    "generic"
  ],
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js",
      "types": "./dist/types/index.d.ts"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "sideEffects": false,
  "engines": {
    "node": ">=16.0.0"
  },
  "scripts": {
    "build": "npm run build:cjs && npm run build:esm && npm run build:types",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:types": "tsc -p tsconfig.types.json",
    "clean": "rm -rf dist",
    "prebuild": "npm run clean",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "lint": "tsc --noEmit",
    "prepublishOnly": "npm run lint && npm test && npm run build",
    "release": "npm run prepublishOnly && npm publish --access public"
  },
  "devDependencies": {
    "@types/jest": "^29.5.14",
    "@types/node": "^20.19.39",
    "jest": "^29.7.0",
    "ts-jest": "^29.4.9",
    "typescript": "^5.9.3"
  }
}