{
  "name": "contentful-management",
  "version": "7.54.2",
  "description": "Client for Contentful's Content Management API",
  "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
  "main": "./dist/contentful-management.node.js",
  "types": "./dist/typings/contentful-management.d.ts",
  "module": "./dist/es-modules/contentful-management.js",
  "engines": {
    "node": ">=6"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/contentful/contentful-management.js.git"
  },
  "author": "Contentful <opensource@contentful.com>",
  "license": "MIT",
  "tonicExampleFilename": "tonic-example.js",
  "scripts": {
    "clean": "rimraf dist",
    "build": "npm run clean && npm run build:modules && npm run build:standalone && npm run build:types",
    "build:modules": "BABEL_ENV=modules babel --extensions \".ts\" --extensions \".js\" lib -d dist/es-modules/",
    "build:standalone": "webpack && NODE_ENV=production webpack",
    "build:standalone:log": "NODE_ENV=production WEBPACK_MODE=log webpack --json --profile --progress > webpack-build-log.json && webpack-bundle-analyzer webpack-build-log.json",
    "build:types": "rimraf dist/typings && tsc --declaration --noEmit false --emitDeclarationOnly true --allowJs false",
    "build:docs": "typedoc",
    "docs:dev": "npm run build && 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",
    "check-types": "tsc",
    "lint": "eslint lib test --ext '.ts,.tsx,.js,.jsx'",
    "pretest": "rimraf coverage && npm run lint",
    "test": "npm run test:cover-unit && npm run test:cover-integration && npm run test:size",
    "test:cover-unit": "./node_modules/.bin/nyc --reporter=lcov --reporter=text --reporter=clover --report-dir=coverage/unit npm run test:unit",
    "test:cover-integration": "./node_modules/.bin/nyc --reporter=lcov --reporter=text --reporter=clover --report-dir=coverage/integration npm run test:integration",
    "test:unit": "BABEL_ENV=test babel-node --extensions .ts --extensions .js ./node_modules/.bin/mocha './test/unit/**/*-test.[tj]s' --config mocharc.js --require @babel/register --reporter mocha-junit-reporter --reporter-options mochaFile=reports/unit-results.xml",
    "test:unit-watch": "BABEL_ENV=test babel-node --extensions .ts --extensions .js ./node_modules/.bin/mocha './test/unit/**/*-test.[tj]s' --config mocharc.js --watch --require @babel/register",
    "test:integration": "BABEL_ENV=test babel-node --extensions .ts --extensions .js ./node_modules/.bin/mocha './test/integration/*.[tj]s' --config mocharc.js --require @babel/register  --reporter mocha-junit-reporter --reporter-options mochaFile=reports/integration-results.xml",
    "test:integration-watch": "BABEL_ENV=test babel-node --extensions .ts --extensions .js ./node_modules/.bin/mocha './test/integration/*.[tj]s' --config mocharc.js --watch --require @babel/register",
    "test:browser": "BABEL_ENV=test karma start karma.conf.local.js --log-level info",
    "test:size": "bundlesize",
    "test:prepush": "npm run build && npm run test:unit && npm run test:size",
    "prettier": "prettier --write '**/*.{jsx,js,ts,tsx}'",
    "prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
    "presemantic-release": "npm run build",
    "semantic-release": "semantic-release",
    "precommit": "npm run lint",
    "postpublish": "if [ \"$(git rev-parse --abbrev-ref HEAD)\" = master ] ; then npm run docs:publish && npm run clean ; else exit 0 ; fi",
    "prepush": "npm run test:prepush",
    "prepare": "npm run build"
  },
  "files": [
    "dist",
    "types.d.ts",
    "tonic-example.js"
  ],
  "dependencies": {
    "@types/json-patch": "0.0.30",
    "axios": "^0.21.4",
    "contentful-sdk-core": "^6.10.4",
    "fast-copy": "^2.1.0",
    "lodash.isplainobject": "^4.0.6",
    "type-fest": "^2.5.3"
  },
  "devDependencies": {
    "@babel/cli": "^7.12.7",
    "@babel/core": "^7.14.0",
    "@babel/node": "^7.13.13",
    "@babel/plugin-proposal-class-properties": "^7.12.1",
    "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
    "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
    "@babel/plugin-proposal-optional-chaining": "^7.13.12",
    "@babel/preset-env": "^7.14.1",
    "@babel/preset-typescript": "^7.12.7",
    "@contentful/integration-test-utils": "^1.3.1",
    "@semantic-release/changelog": "^6.0.0",
    "@types/chai": "^4.2.17",
    "@types/chai-as-promised": "^7.1.4",
    "@types/lodash": "^4.14.168",
    "@types/lodash.isplainobject": "^4.0.6",
    "@types/node": "^17.0.10",
    "@types/sinon": "10.0.10",
    "@typescript-eslint/eslint-plugin": "4.33.0",
    "@typescript-eslint/parser": "4.33.0",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.2.1",
    "babel-minify-webpack-plugin": "^0.3.1",
    "babel-plugin-inline-replace-variables": "^1.3.1",
    "babel-plugin-lodash": "^3.3.4",
    "babel-plugin-rewire-ts": "1.4.0",
    "better-docs": "^2.3.2",
    "bundlesize": "^0.18.1",
    "chai": "^4.2.0",
    "chai-as-promised": "7.1.1",
    "contentful-sdk-jsdoc": "^2.2.0",
    "core-js": "^2.6.12",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.15.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-no-only-tests": "^2.6.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^6.0.0",
    "express": "^4.17.1",
    "husky": "^4.3.8",
    "in-publish": "^2.0.1",
    "istanbul": "^1.0.0-alpha.2",
    "json": "^11.0.0",
    "karma": "^6.3.4",
    "karma-chrome-launcher": "^3.1.0",
    "karma-env-preprocessor": "^0.1.1",
    "karma-firefox-launcher": "^2.1.1",
    "karma-mocha": "^2.0.1",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "^4.0.2",
    "lint-staged": "^12.1.2",
    "lodash": "^4.17.20",
    "lodash-webpack-plugin": "^0.11.5",
    "mocha": "^9.1.1",
    "mocha-junit-reporter": "^2.0.2",
    "nodemon": "^2.0.7",
    "nyc": "^15.1.0",
    "prettier": "^2.0.5",
    "require-all": "^3.0.0",
    "rimraf": "^3.0.2",
    "semantic-release": "^19.0.2",
    "sinon": "^13.0.0",
    "typedoc": "0.22.8",
    "typescript": "^4.1.2",
    "webpack": "^4.46.0",
    "webpack-bundle-analyzer": "^4.4.1",
    "webpack-cli": "^4.8.0"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "prettier --write",
      "eslint"
    ],
    "*.md": [
      "prettier --write"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "release": {
    "branches": [
      "master",
      "next",
      "next-major"
    ],
    "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"
    ]
  },
  "bundlesize": [
    {
      "path": "./dist/contentful-management.browser.js",
      "maxSize": "75Kb"
    },
    {
      "path": "./dist/contentful-management.browser.min.js",
      "maxSize": "30Kb"
    },
    {
      "path": "./dist/contentful-management.legacy.js",
      "maxSize": "91Kb"
    },
    {
      "path": "./dist/contentful-management.legacy.min.js",
      "maxSize": "40Kb"
    },
    {
      "path": "./dist/contentful-management.node.js",
      "maxSize": "85Kb"
    },
    {
      "path": "./dist/contentful-management.node.min.js",
      "maxSize": "35Kb"
    }
  ]
}
