{
  "name": "@portabletext/types",
  "version": "2.0.14-canary.0",
  "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"
  ],
  "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",
    "prepare": "husky install",
    "prepublishOnly": "run-s build test",
    "test": "run-s lint build node:test"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*": [
      "prettier --write --cache --ignore-unknown"
    ]
  },
  "browserslist": "extends @sanity/browserslist-config",
  "prettier": {
    "bracketSpacing": false,
    "plugins": [
      "prettier-plugin-packagejson"
    ],
    "printWidth": 100,
    "semi": false,
    "singleQuote": true
  },
  "eslintConfig": {
    "parserOptions": {
      "ecmaFeatures": {
        "modules": true
      },
      "ecmaVersion": 9,
      "sourceType": "module"
    },
    "extends": [
      "sanity",
      "sanity/typescript",
      "prettier"
    ],
    "ignorePatterns": [
      "dist/**/"
    ]
  },
  "devDependencies": {
    "@commitlint/cli": "^19.3.0",
    "@commitlint/config-conventional": "^19.2.2",
    "@sanity/pkg-utils": "6.10.1",
    "@types/babel__core": "^7.20.5",
    "@typescript-eslint/eslint-plugin": "^7.15.0",
    "@typescript-eslint/parser": "^7.15.0",
    "commitizen": "^4.3.0",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-config-sanity": "^7.1.2",
    "husky": "^8.0.3",
    "npm-run-all2": "^5.0.2",
    "prettier": "^3.3.2",
    "prettier-plugin-packagejson": "^2.5.0",
    "typedoc": "^0.26.3",
    "typescript": "5.5.3"
  },
  "packageManager": "pnpm@9.4.0",
  "engines": {
    "node": "^14.13.1 || >=16.0.0 || >=18.0.0"
  },
  "publishConfig": {
    "access": "public"
  }
}