{
  "name": "on-demand-revalidation",
  "description": "A WordPress plugin that allows for on-demand revalidation in a Next.js app.",
  "scripts": {
    "build": "wp-scripts build",
    "start": "wp-scripts start",
    "typecheck": "tsc --noEmit",
    "typecheck:watch": "tsc --noEmit --watch",
    "lint:js": "wp-scripts lint-js",
    "lint:ts": "eslint --ext .ts,.tsx src/",
    "lint:css": "wp-scripts lint-style",
    "lint:php": "composer run phpcs",
    "format:js": "wp-scripts format",
    "format:ts": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
    "format:php": "composer run phpcbf",
    "test:js": "wp-scripts test-unit-js",
    "test:php": "composer run test",
    "lint": "npm run lint:js && npm run lint:ts && npm run lint:css && npm run lint:php && npm run typecheck",
    "format": "npm run format:js && npm run format:ts && npm run format:php",
    "prepare": "husky"
  },
  "author": "Dexerto",
  "license": "GPL-2.0-or-later",
  "lint-staged": {
    "*.{js,jsx}": [
      "wp-scripts lint-js",
      "wp-scripts format"
    ],
    "*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{css,scss}": [
      "wp-scripts lint-style"
    ],
    "*.php": [
      "composer run phpcs",
      "composer run phpcbf"
    ]
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.0",
    "@commitlint/config-conventional": "^19.8.0",
    "@types/glob": "^8.1.0",
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "@types/wordpress__block-editor": "^11.5.16",
    "@types/wordpress__blocks": "^12.5.17",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "@typescript-eslint/parser": "^5.62.0",
    "@wordpress/block-editor": "^14.16.0",
    "@wordpress/blocks": "^14.10.0",
    "@wordpress/components": "^25.3.0",
    "@wordpress/data": "^9.7.0",
    "@wordpress/element": "^5.14.0",
    "@wordpress/eslint-plugin": "^14.0.0",
    "@wordpress/i18n": "^4.37.0",
    "@wordpress/interactivity": "^6.21.0",
    "@wordpress/scripts": "^26.0.0",
    "@wordpress/stylelint-config": "^23.13.0",
    "eslint": "^8.36.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-prettier": "^5.0.0",
    "eslint-plugin-react": "^7.33.2",
    "glob": "^10.3.3",
    "husky": "^9.1.7",
    "lint-staged": "^15.5.0",
    "prettier": "^3.0.3",
    "stylelint": "^16.0.0",
    "ts-loader": "^9.5.0",
    "typescript": "^5.1.6"
  }
}
