{
    "name": "spotmap",
    "version": "1.0.0",
    "description": "[![WordPress Plugin: Version](https://img.shields.io/wordpress/plugin/v/spotmap?color=green&logo=wordpress) ![WordPress Plugin: Tested WP Version](https://img.shields.io/wordpress/plugin/tested/spotmap?color=green&logo=wordpress)](https://wordpress.org/plugins/spotmap/)",
    "author": "Timo Giese",
    "license": "GPL-2.0-or-later",
    "keywords": [],
    "homepage": "https://github.com/techtimo/Spotmap#readme",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/techtimo/Spotmap.git"
    },
    "bugs": {
        "url": "https://github.com/techtimo/Spotmap/issues"
    },
    "main": "index.js",
    "files": [
        "admin",
        "build",
        "config",
        "includes",
        "languages",
        "public",
        "spotmap.php"
    ],
    "dependencies": {
        "@fortawesome/fontawesome-free": "^7.2.0",
        "@wordpress/dataviews": "^14.3.0",
        "beautifymarker": "^1.0.9",
        "leaflet": "^1.9.4",
        "leaflet-easybutton": "^2.4.0",
        "leaflet-gpx": "^2.2.0",
        "leaflet-textpath": "^1.3.0",
        "leaflet-tilelayer-swiss": "^2.4.0",
        "leaflet.fullscreen": "^5.3.1",
        "mustache": "^4.2.0"
    },
    "devDependencies": {
        "@jest/globals": "^30.4.1",
        "@types/mustache": "^4.2.6",
        "@playwright/test": "^1.60.0",
        "@testing-library/jest-dom": "^6.9.1",
        "@testing-library/react": "^16.3.2",
        "@testing-library/user-event": "^14.6.1",
        "@types/leaflet": "^1.9.21",
        "@wordpress/api-fetch": "^7.46.0",
        "@wordpress/components": "^33.1.0",
        "@wordpress/data": "*",
        "@wordpress/env": "^10.39.0",
        "@wordpress/i18n": "^6.19.0",
        "@wordpress/icons": "^13.0.0",
        "@wordpress/scripts": "^32.2.0",
        "dotenv": "^17.4.2",
        "ts-loader": "^9.5.7",
        "typescript": "^6.0.3"
    },
    "scripts": {
        "build": "wp-scripts build --webpack-src-dir=src",
        "start": "wp-scripts start --webpack-src-dir=src",
        "wp-env": "wp-env",
        "env:start": "wp-env start --debug",
        "env:setup": "node examples/setup-dev.js",
        "env:stop": "wp-env stop",
        "env:destroy": "wp-env destroy",
        "env:logs": "wp-env run wordpress bash -c \"tail -Fn0 /var/www/html/wp-content/debug.log\"",
        "api-hook": "wp-env run cli wp cron event run spotmap_api_crawler_hook --due-now",
        "api-hook:garmin": "wp-env run cli wp cron event run spotmap_garmin_crawler_hook --due-now",
        "format": "wp-scripts format",
        "format:php": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap sh -c \"composer run format\"",
        "lint:css": "wp-scripts lint-style",
        "lint:js": "wp-scripts lint-js",
        "lint:php": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap sh -c \"composer run lint\"",
        "lint:pkg-json": "wp-scripts lint-pkg-json",
        "lint:md:docs": "wp-scripts lint-md-docs",
        "test:js": "wp-scripts test-unit-js",
        "test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/Spotmap sh -c \"XDEBUG_MODE=off composer run test\"",
        "test:e2e": "playwright test",
        "check-licenses": "wp-scripts check-licenses --ignore=@fortawesome/fontawesome-free",
        "packages-update": "wp-scripts packages-update",
        "version:bump": "node scripts/bump-version.js",
        "plugin-zip": "npm run build && wp-scripts plugin-zip && node -e \"const fs=require('fs');const v=fs.readFileSync('spotmap.php','utf8').match(/Version:\\s+(\\S+)/)[1];fs.renameSync('spotmap.zip',`spotmap-${v}.zip`);console.log(`Created spotmap-${v}.zip`);\"",
        "composer": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap -- composer"
    },
    "overrides": {
        "serialize-javascript": "^7.0.3",
        "minimatch": "^9.0.7",
        "eslint-plugin-jsx-a11y": {
            "minimatch": "^3.1.2"
        },
        "glob": "^10.5.0",
        "phin": "^3.7.1",
        "babel-plugin-istanbul": "^8.0.0"
    }
}
