{
  "name": "remote-data-blocks",
  "author": "Automattic",
  "description": "Remote Data Blocks plugin",
  "license": "GPL-2.0-or-later",
  "private": true,
  "main": "build/index.js",
  "files": [
    "build/",
    "inc/",
    "vendor/",
    "blueprint.json",		
    "functions.php",
    "remote-data-blocks.php",
    "composer.json"
  ],
  "scripts": {
    "build": "npm run cmd:build",
    "build:docs:ai": "npx repomix --include='docs/**/*.md,example/**' --ignore='docs/extending/ai-prompts.md,docs/for-ai.md,docs/index.md,docs/quickstart.md' --style=markdown --output='docs/for-ai.md'",
    "check-types": "tsc --noEmit",
    "cmd:build": "wp-scripts build --experimental-modules",
    "cmd:format": "prettier '**/*.(js|json|jsx|md|ts|tsx|yml|yaml)'",
    "cmd:lint": "eslint --ext 'js,jsx,ts,tsx' --quiet",
    "dev": "./bin/start",
    "dev:decoupled": "./bin/start decoupled",
    "dev:build": "./bin/start default build",
    "dev:destroy": "./bin/stop destroy",
    "dev:stop": "./bin/stop",
    "format": "npm run cmd:format -- --write",
    "format:check": "npm run cmd:format -- --check",
    "lint": "npm run cmd:lint .",
    "lint:all": "npm run lint:js && npm run lint:css && npm run lint:php",
    "lint:fix": "npm run cmd:lint . -- --fix",
    "lint:css:fix": "wp-scripts lint-style --fix",
    "lint:css": "wp-scripts lint-style",
    "lint:js": "npm run lint",
    "lint:php": "npm run lint:phpcs && npm run lint:psalm",
    "lint:phpcs": "vendor/bin/phpcs --cache",
    "lint:phpcs:fix": "vendor/bin/phpcbf",
    "lint:psalm": "vendor/bin/psalm.phar",
    "packages-update": "wp-scripts packages-update",
    "playground": "npx @wp-playground/cli server --mount=.:/wordpress/wp-content/plugins/remote-data-blocks --php=8.2 --blueprint=blueprint.local.json",
    "playground:reset": "npm run playground -- --reset",
    "plugin-zip": "npm run build && composer install --prefer-dist --optimize-autoloader --no-dev && wp-scripts plugin-zip",
    "postinstall": "composer install",
    "release": "./bin/release",
    "start": "wp-scripts start --experimental-modules --stats=minimal",
    "test": "npm run test:php && npm run test:js",
    "test:e2e": "wp-scripts test-playwright",
    "test:e2e:debug": "wp-scripts test-playwright --debug",
    "test:e2e:help": "wp-scripts test-playwright --help",
    "test:php": "composer test",
    "test:php:coverage": "composer test-coverage",
    "test:php:debug": "wp-env run tests-cli --env-cwd=wp-content/plugins/remote-data-blocks ./vendor/bin/phpunit",
    "test:integration": "wp-env run tests-cli --env-cwd=wp-content/plugins/remote-data-blocks ./vendor/bin/phpunit -c ./phpunit-integration.xml",
    "test:js": "vitest --watch=false",
    "test:js:watch": "vitest --watch=true",
    "test:js:coverage": "vitest --coverage --watch=false",
    "wp-cli": "wp-env run cli -- wp"
  },
  "devDependencies": {
    "@automattic/eslint-plugin-wpvip": "0.13.1",
    "@babel/preset-react": "7.28.5",
    "@playwright/test": "^1.57.0",
    "@testing-library/jest-dom": "6.9.1",
    "@testing-library/react": "16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/react-syntax-highlighter": "^15.5.13",
    "@types/wordpress__block-editor": "11.5.16",
    "@types/wordpress__blocks": "12.5.17",
    "@vitest/coverage-v8": "3.2.4",
    "@wordpress/api-fetch": "7.32.0",
    "@wordpress/block-editor": "15.5.0",
    "@wordpress/blocks": "15.5.0",
    "@wordpress/components": "30.5.0",
    "@wordpress/compose": "7.32.0",
    "@wordpress/core-data": "7.32.0",
    "@wordpress/data": "10.32.0",
    "@wordpress/dependency-extraction-webpack-plugin": "^6.32.0",
    "@wordpress/dom-ready": "4.32.0",
    "@wordpress/e2e-test-utils-playwright": "^1.32.0",
    "@wordpress/editor": "14.32.0",
    "@wordpress/element": "6.32.0",
    "@wordpress/env": "10.32.0",
    "@wordpress/hooks": "4.32.0",
    "@wordpress/i18n": "6.5.0",
    "@wordpress/icons": "10.32.0",
    "@wordpress/interactivity": "6.32.0",
    "@wordpress/notices": "5.32.0",
    "@wordpress/plugins": "7.32.0",
    "@wordpress/primitives": "4.32.0",
    "@wordpress/rich-text": "7.32.0",
    "@wordpress/scripts": "30.1.0",
    "@wordpress/server-side-render": "6.8.0",
    "@wordpress/url": "4.32.0",
    "eslint": "8.57.1",
    "fork-ts-checker-webpack-plugin": "9.1.0",
    "happy-dom": "20.0.7",
    "husky": "9.1.7",
    "lint-staged": "16.2.3",
    "prettier": "npm:wp-prettier@2.8.5",
    "react": "18.3.1",
    "stylelint": "16.11.0",
    "ts-loader": "9.5.2",
    "typescript": "5.9.2",
    "vitest": "3.2.4"
  },
  "overrides": {
    "react-autosize-textarea": {
      "react": "^18",
      "react-dom": "^18"
    }
  },
  "stylelint": {
    "extends": "./node_modules/@wordpress/scripts/config/.stylelintrc.json"
  },
  "dependencies": {
    "@automattic/calypso-analytics": "^1.1.3",
    "@wordpress/dataviews": "^9.1.0",
    "react-syntax-highlighter": "^16.1.0"
  }
}
