{
  "name": "ts-xor",
  "version": "1.3.0",
  "description": "Compose custom types containing mutually exclusive keys, using this generic Typescript helper type.",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "node": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "node": "./dist/index.js"
      }
    }
  },
  "sideEffects": false,
  "scripts": {
    "codegen": "node ./src/xorFactory.js > ./src/types/xor.ts",
    "prebuild": "npm run codegen",
    "build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean",
    "pretest": "npm run codegen",
    "test": "npm run test:smoke && npm run test:unit  && npm run test:package",
    "test:smoke": "tsc -p . --noEmit",
    "test:unit": "sh scripts/run-tests.sh",
    "test:package": "publint",
    "preversion": "npm run build && npm test",
    "postpublish": "git push --tags"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/maninak/ts-xor.git"
  },
  "keywords": [
    "typescript",
    "custom types",
    "mutually exlusive keys",
    "xor",
    "maninak"
  ],
  "author": "Kostis Maninakis <maninak@protonmail.com> (https://maninak.github.io)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/maninak/ts-xor/issues"
  },
  "homepage": "https://github.com/maninak/ts-xor#README.md",
  "devDependencies": {
    "publint": "^0.2.2",
    "tsup": "^7.2.0",
    "typescript": "^5.2.2"
  }
}
