{
  "name": "contentful-management",
  "version": "12.3.1",
  "description": "Client for Contentful's Content Management API",
  "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "require": "./dist/cjs/index.cjs",
      "import": "./dist/esm/index.mjs",
      "default": "./dist/esm/index.mjs"
    },
    "./types": {
      "types": "./dist/types/index.d.ts"
    }
  },
  "main": "./dist/cjs/index.cjs",
  "module": "./dist/esm/index.mjs",
  "jsdelivr": "./dist/browser/index.min.js",
  "unpkg": "./dist/browser/index.min.js",
  "types": "./dist/types/index.d.ts",
  "engines": {
    "node": ">=20"
  },
  "browserslist": [
    ">0.3%",
    "Chrome >= 85",
    "Edge >= 85",
    "Firefox >= 79",
    "Safari >= 14"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/contentful/contentful-management.js.git"
  },
  "author": "Contentful <opensource@contentful.com>",
  "license": "MIT",
  "scripts": {
    "clean": "rimraf dist",
    "build": "npm run clean && NODE_ENV=production rollup -c",
    "build:types": "rimraf dist/typings && tsc --declaration --noEmit false --emitDeclarationOnly true --allowJs false",
    "build:docs": "typedoc",
    "docs:dev": "npm run build:docs",
    "docs:watch": "nodemon --exec npm run docs:dev -w lib typings",
    "docs:publish": "npm run build:docs && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful-management.js contentful-management",
    "lint": "eslint lib test",
    "lint:fix": "eslint lib test --fix",
    "test": "npm run test:unit:cover && npm run test:types && npm run test:integration:cover && npm run test:size",
    "test:unit:cover": "npm run test:unit -- --coverage",
    "test:unit": "npx vitest --project unit --run",
    "test:types": "npx vitest --project types --run",
    "test:unit-watch": "npx vitest --project unit",
    "test:integration": "npx vitest --project integration --run --no-file-parallelism",
    "test:integration:cover": "npm run test:integration -- --coverage",
    "test:integration-watch": "npx vitest --project integration --no-file-parallelism",
    "test:browser": "npx playwright install && npx vitest --project browser-unit --run && npx vitest --project browser-integration --run",
    "test:version": "grep -r \"0.0.0-determined-by-semantic-release\" ./dist > /dev/null && echo \"version 0.0.0-determined-by-semantic-release found in output\" && exit 1 || exit 0",
    "test:size": "size-limit",
    "test:demo-projects": "npm run test:demo-node && npm run test:demo-browser",
    "test:demo-node": "npm ci --prefix ./test/output-integration/node && npm run test --prefix ./test/output-integration/node",
    "test:demo-browser": "npm ci --prefix ./test/output-integration/browser && npm run setup-test-env --prefix ./test/output-integration/browser && npm run test --prefix ./test/output-integration/browser",
    "format:fix": "npm run format:check -- --write",
    "format:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
    "semantic-release": "semantic-release",
    "prepare": "husky"
  },
  "files": [
    "dist"
  ],
  "dependencies": {
    "@contentful/rich-text-types": "^16.6.1",
    "axios": "^1.15.0",
    "contentful-sdk-core": "^9.4.4",
    "fast-copy": "^3.0.0",
    "globals": "^15.15.0",
    "process": "^0.11.10"
  },
  "devDependencies": {
    "@contentful/integration-test-utils": "^2.0.1",
    "@eslint/js": "^9.15.0",
    "@rollup/plugin-alias": "^6.0.0",
    "@rollup/plugin-commonjs": "^29.0.0",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-replace": "^6.0.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^12.3.0",
    "@semantic-release/changelog": "^6.0.3",
    "@size-limit/file": "^11.1.6",
    "@types/lodash": "^4.14.168",
    "@types/node": "^20.12.13",
    "@vitest/browser": "^2.1.5",
    "@vitest/coverage-v8": "^2.1.5",
    "contentful-sdk-jsdoc": "^3.1.5",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^9.15.0",
    "express": "^5.2.1",
    "husky": "^9.1.7",
    "in-publish": "^2.0.1",
    "jsonwebtoken": "^9.0.2",
    "lint-staged": "^16.3.3",
    "lodash": "^4.17.20",
    "nodemon": "^3.1.2",
    "playwright": "^1.49.0",
    "prettier": "3.6.2",
    "rimraf": "^6.1.3",
    "rollup": "^4.53.3",
    "rollup-plugin-polyfill-node": "^0.13.0",
    "rollup-plugin-sourcemaps2": "^0.5.4",
    "semantic-release": "^25.0.2",
    "size-limit": "^11.1.6",
    "type-fest": "^4.18.3",
    "typedoc": "^0.26.2",
    "typescript": "^5.6.3",
    "typescript-eslint": "^8.16.0",
    "vitest": "^2.1.5"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "lint-staged": {
    "./{lib,test}/**/*.{js,ts}": [
      "prettier --write",
      "eslint --fix"
    ],
    "*.md": [
      "prettier --write"
    ]
  },
  "release": {
    "branches": [
      "master",
      {
        "name": "beta",
        "channel": "beta",
        "prerelease": true
      },
      {
        "name": "new-beta",
        "channel": "beta",
        "prerelease": true
      },
      {
        "name": "canary",
        "prerelease": true
      },
      {
        "name": "dev",
        "channel": "dev",
        "prerelease": true
      }
    ],
    "plugins": [
      [
        "@semantic-release/commit-analyzer",
        {
          "releaseRules": [
            {
              "type": "build",
              "scope": "deps",
              "release": "patch"
            }
          ]
        }
      ],
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/github"
    ]
  },
  "size-limit": [
    {
      "path": "./dist/cjs/index.cjs",
      "limit": "177 kB"
    }
  ]
}
