{
  "name": "markdown-renderer-for-github",
  "version": "1.0.0",
  "description": "Renders GFM (GitHub Flavored Markdown) content beautifully on the front end using JavaScript libraries",
  "scripts": {
    "build": "wp-scripts build",
    "start": "wp-scripts start",
    "clean": "rm -rf build/*",
    "test": "./vendor/bin/phpunit -c tests/phpunit.xml --testdox",
    "test:unit": "./scripts/test-unit.sh",
    "test:quick": "./scripts/test-quick.sh",
    "test:local": "./scripts/test-local.sh",
    "test:full": "./scripts/test-full.sh",
    "test:e2e": "./scripts/test-e2e-only.sh",
    "test:lint": "./scripts/run-lint.sh",
    "test:coverage": "./vendor/bin/phpunit -c tests/phpunit.xml --coverage-html coverage-html --coverage-clover coverage.xml",
    "test:e2e:headed": "playwright test --config=tests/e2e/playwright.config.js plugin-activation.spec.js --grep='WordPress管理画面が正常に動作する' --headed",
    "test:e2e:debug": "./scripts/test-e2e-only.sh --no-cleanup",
    "lint:js": "wp-scripts lint-js assets/ --ext .js",
    "lint:css": "wp-scripts lint-style",
    "lint:php": "./vendor/bin/phpcs --standard=phpcs.xml includes/ markdown-renderer-for-github.php",
    "lint:php:fix": "./vendor/bin/phpcbf --standard=phpcs.xml includes/ markdown-renderer-for-github.php",
    "lint:fix": "npm run lint:js -- --fix && npm run lint:css -- --fix",
    "lint:wporg": "./scripts/check-japanese-comments.sh",
    "lint:wporg:php": "./scripts/check-japanese-comments.sh --php",
    "lint:wporg:js": "./scripts/check-japanese-comments.sh --js",
    "lint:wporg:css": "./scripts/check-japanese-comments.sh --css",
    "ci:lint": "npm run lint:js && npm run lint:css && npm run lint:php",
    "ci:security": "npm run security:audit",
    "e2e:quick-test": "./scripts/e2e-quick-test.sh",
    "e2e:quick-test:debug": "./scripts/e2e-quick-test.sh --no-cleanup",
    "e2e:env": "npm run docker:e2e:status && echo 'E2E環境: http://localhost:8080 (admin/admin123)'",
    "docker:e2e:up": "docker compose -f tests/e2e/docker/docker-compose.yml up -d",
    "docker:e2e:down": "docker compose -f tests/e2e/docker/docker-compose.yml down -v",
    "docker:e2e:init": "docker compose -f tests/e2e/docker/docker-compose.yml run --rm wp_init",
    "docker:e2e:reset": "npm run docker:e2e:down && sleep 3 && docker volume prune -f && npm run docker:e2e:up && sleep 10 && npm run docker:e2e:init",
    "docker:e2e:hard-reset": "npm run docker:e2e:down && docker volume rm markdown-renderer-for-github_e2e_db_data 2>/dev/null || true && npm run docker:e2e:up && (for i in {1..30}; do curl -s http://localhost:8080/wp-admin >/dev/null && break || sleep 1; done) && npm run docker:e2e:init",
    "docker:e2e:status": "docker compose -f tests/e2e/docker/docker-compose.yml ps",
    "wp:multi:status": "./tests/e2e/docker/wp-multi-version-manager.sh status",
    "wp:multi:list": "./tests/e2e/docker/wp-multi-version-manager.sh list",
    "wp:multi:urls": "./tests/e2e/docker/wp-multi-version-manager.sh urls",
    "wp:multi:start": "./tests/e2e/docker/wp-multi-version-manager.sh start",
    "wp:multi:stop": "./tests/e2e/docker/wp-multi-version-manager.sh stop",
    "wp:multi:test": "./tests/e2e/docker/wp-multi-version-manager.sh test",
    "wp:compat:setup": "./tests/e2e/docker/wp-multi-version-manager.sh start && sleep 15 && ./tests/e2e/docker/wp-multi-version-manager.sh init && sleep 10 && ./tests/e2e/docker/wp-multi-version-manager.sh urls",
    "wp:compat:test": "./tests/e2e/docker/wp-multi-version-manager.sh test",
    "wp:compat:clean": "./tests/e2e/docker/wp-multi-version-manager.sh stop",
    "wp:dev:start": "npm run wp:compat:setup",
    "wp:dev:test": "npm run wp:compat:test",
    "wp:dev:stop": "npm run wp:compat:clean",
    "wp:test": "./scripts/wordpress-compatibility-test.sh --quick",
    "wp:test:full": "./scripts/wordpress-compatibility-test.sh --full",
    "wp:test:verbose": "./scripts/wordpress-compatibility-test.sh --quick --verbose",
    "wp:test:keep": "./scripts/wordpress-compatibility-test.sh --quick --no-cleanup",
    "ci:quick": "./scripts/ci-local.sh basic",
    "ci:wordpress": "./scripts/ci-local.sh wordpress",
    "ci:full": "./scripts/ci-local.sh full",
    "ci:release": "./scripts/ci-local.sh release",
    "ci:report": "./scripts/generate-ci-report.sh",
    "ci:report:json": "./scripts/generate-ci-report.sh --format json",
    "ci:report:junit": "./scripts/generate-ci-report.sh --format junit",
    "ci:verbose": "./scripts/ci-local.sh full --verbose",
    "security:audit": "./scripts/security-audit.sh",
    "security:audit:full": "./scripts/security-audit.sh --full",
    "security:audit:wordpress-org": "./scripts/security-audit.sh --wordpress-org",
    "security:audit:vulnerability": "./scripts/security-audit.sh --vulnerability",
    "security:audit:code": "./scripts/security-audit.sh --code-audit",
    "security:audit:json": "./scripts/security-audit.sh --output-format json",
    "performance:test": "./scripts/performance-test.sh",
    "performance:test:full": "./scripts/performance-test.sh --full",
    "performance:test:lighthouse": "./scripts/performance-test.sh --lighthouse",
    "performance:test:memory": "./scripts/performance-test.sh --memory",
    "performance:test:core-vitals": "./scripts/performance-test.sh --core-vitals",
    "performance:test:load": "./scripts/performance-test.sh --load-test",
    "performance:test:strict": "./scripts/performance-test.sh --budget strict",
    "performance:test:json": "./scripts/performance-test.sh --output-format json",
    "performance:test:setup": "./scripts/performance-test.sh --setup-wordpress --cleanup-wordpress",
    "ci:performance": "npm run performance:test",
    "ci:comprehensive": "npm run ci:full && npm run security:audit && npm run performance:test",
    "linear:issue:help": "./scripts/create-linear-issue-helper.sh",
    "linear:issue:verify": "./scripts/verify-issue-links.sh",
    "dist": "./scripts/create-distribution.sh",
    "dist:clean": "rm -rf dist/",
    "dist:build": "npm run build && ./scripts/create-distribution.sh",
    "dist:release": "npm run test:full && ./scripts/create-distribution.sh",
    "release:prepare": "composer install --no-dev --optimize-autoloader",
    "release:zip": "./scripts/create-release-zip.sh",
    "release": "npm run build && npm run release:prepare && npm run release:zip",
    "test:v2": "open test-v2-complete.html",
    "test:v2:architecture": "open test-v2-architecture.html",
    "test:v2:report": "echo 'v2アーキテクチャ統合レポート生成中...' && open test-v2-complete.html",
    "prepare": "husky"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/wakalab/markdown-renderer-for-github.git"
  },
  "keywords": [
    "wordpress",
    "markdown",
    "gfm",
    "github-flavored-markdown",
    "plugin"
  ],
  "author": "Wakalab <noriyuki.kurokawa@wakalab.jp>",
  "license": "GPL-2.0-or-later",
  "engines": {
    "node": ">=16.0.0",
    "npm": ">=8.0.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@playwright/test": "^1.40.0",
    "@wordpress/block-editor": "^14.4.0",
    "@wordpress/blocks": "^13.9.0",
    "@wordpress/components": "^28.9.0",
    "@wordpress/element": "^6.9.0",
    "@wordpress/i18n": "^5.9.0",
    "@wordpress/scripts": "^30.20.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.1.5"
  },
  "private": true,
  "dependencies": {
    "markdown-it": "^14.1.0",
    "markdown-it-footnote": "^4.0.0",
    "markdown-it-mark": "^4.0.0",
    "markdown-it-strikethrough-alt": "^1.0.0",
    "markdown-it-task-lists": "^2.1.1"
  }
}
