{
  "name": "@portabletext/types",
  "version": "2.0.15",
  "description": "Shared TypeScript definitions for core Portable Text data structures",
  "keywords": [
    "portable-text"
  ],
  "homepage": "https://github.com/portabletext/types#readme",
  "bugs": {
    "url": "https://github.com/portabletext/types/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/portabletext/types.git"
  },
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "source": "./src/index.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "src"
  ],
  "lint-staged": {
    "*": [
      "prettier --write --cache --ignore-unknown"
    ]
  },
  "browserslist": "extends @sanity/browserslist-config",
  "prettier": "@sanity/prettier-config",
  "eslintConfig": {
    "parserOptions": {
      "ecmaFeatures": {
        "modules": true
      },
      "ecmaVersion": 9,
      "sourceType": "module"
    },
    "extends": [
      "sanity",
      "sanity/typescript",
      "prettier"
    ],
    "ignorePatterns": [
      "dist/**/"
    ]
  },
  "devDependencies": {
    "@changesets/changelog-github": "^0.5.1",
    "@changesets/cli": "^2.29.6",
    "@sanity/browserslist-config": "^1.0.5",
    "@sanity/pkg-utils": "^8.0.3",
    "@sanity/prettier-config": "^2.0.1",
    "@types/babel__core": "^7.20.5",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "eslint": "^8.57.1",
    "eslint-config-prettier": "^9.1.2",
    "eslint-config-sanity": "^7.1.4",
    "npm-run-all2": "^5.0.2",
    "prettier": "^3.6.2",
    "typedoc": "^0.28.10",
    "typescript": "5.9.2"
  },
  "engines": {
    "node": "^14.13.1 || >=16.0.0 || >=18.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "pkg-utils build --strict --check --clean",
    "docs:build": "typedoc",
    "format": "prettier --write --cache --ignore-unknown .",
    "lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx",
    "node:test": "node test/test.js",
    "release": "changeset publish",
    "test": "run-s lint build node:test"
  }
}