{
  "name": "@joookiwi/enumerable",
  "version": "3.13.0",
  "description": "A Javascript implementation of an enum class with a related companion-enum",

  "scripts": {
    "clear-dist-folder": "del-cli dist/",
    "build-esm":         "tsc --project tsconfig.esm.json",
    "build-cjs":         "tsc --project tsconfig.cjs.json",
    "build-types":       "tsc --project tsconfig.types.json",

    "test":                "vitest run",
    "test-with-coverage":  "vitest run --coverage",
    "test-enum":           "vitest run EnumWith",
    "test-companion":      "vitest run CompanionEnum",
    "see-import-duration": "vitest --experimental.importDurations.print",

    "test-pack":    "npm pack --dry-run",
    "test-publish": "npm publish --access=public --dry-run",

    "pack": "npm pack",

    "local-publish":  "npm link",
    "publish-to-npm": "npm publish --access=public"
  },

  "directories": {
    "example": "../example",
    "lib": "./src",
    "test": "./test"
  },
  "main": "./dist/common javascript/index.js",
  "module": "./dist/ecmascript module/index.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "types":   "./dist/types/index.d.ts",
      "import":  "./dist/ecmascript module/index.js",
      "require": "./dist/common javascript/index.js"
    },

    "./companion": {
      "types":   "./dist/types/companion/index.d.ts",
      "import":  "./dist/ecmascript module/companion/index.js",
      "require": "./dist/common javascript/companion/index.js"
    },
    "./exception": {
      "types":   "./dist/types/exception/index.d.ts",
      "import":  "./dist/ecmascript module/exception/index.js",
      "require": "./dist/common javascript/exception/index.js"
    },
    "./helper": {
      "types":   "./dist/types/helper/index.d.ts",
      "import":  "./dist/ecmascript module/helper/index.js",
      "require": "./dist/common javascript/helper/index.js"
    },
    "./method": {
      "types":   "./dist/types/method/index.d.ts",
      "import":  "./dist/ecmascript module/method/index.js",
      "require": "./dist/common javascript/method/index.js"
    },
    "./type": { "types": "./dist/types/type/index.d.ts" },

    "./*": {
      "types":   "./dist/types/*.d.ts",
      "import":  "./dist/ecmascript module/*.js",
      "require": "./dist/common javascript/*.js"
    },
    "./companion/*": {
      "types":   "./dist/types/companion/*.d.ts",
      "import":  "./dist/ecmascript module/companion/*.js",
      "require": "./dist/common javascript/companion/*.js"
    },
    "./exception/*": {
      "types":   "./dist/types/exception/*.d.ts",
      "import":  "./dist/ecmascript module/exception/*.js",
      "require": "./dist/common javascript/exception/*.js"
    },
    "./helper/*": {
      "types":   "./dist/types/helper/*.d.ts",
      "import":  "./dist/ecmascript module/helper/*.js",
      "require": "./dist/common javascript/helper/*.js"
    },
    "./method/*": {
      "types":   "./dist/types/method/*.d.ts",
      "import":  "./dist/ecmascript module/method/*.js",
      "require": "./dist/common javascript/method/*.js"
    },
    "./type/*": { "types": "./dist/types/type/*.d.ts" }
  },

  "files": [
    "dist",
    "src",
    "README.md"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/joooKiwi/enumeration.git"
  },
  "bugs": {
    "url": "https://github.com/joooKiwi/enumeration/issues"
  },

  "keywords": [
    "enum",
    "enum class",
    "enumeration"
  ],
  "funding": [
    { "type": "github",          "url": "https://github.com/sponsors/joooKiwi" },
    { "type": "buy-me-a-coffee", "url": "https://www.buymeacoffee.com/joookiwi" }
  ],
  "author": "JóôòKiwi",
  "license": "MIT",
  "dependencies": {
    "@joookiwi/collection": "^2.1.0",
    "@joookiwi/lazy":       "^1.8.0",
    "@joookiwi/type":       "^1.3.0"
  },
  "devDependencies": {
    "@types/node":            "^26.6.5",
    "@vitest/coverage-v8":    "^5.0.5",
    "del-cli":                "^8.0.1",
    "jest-extended":          "^7.0.0",
    "ts-node":                "^10.9.2",
    "typescript":             "^7.0.2",
    "vitest":                 "^5.0.5"
  }
}
