{
  "name": "photoprism",
  "description": "AI-Powered Photos App",
  "author": "PhotoPrism UG",
  "license": "AGPL-3.0",
  "version": "1",
  "private": true,
  "scripts": {
    "acceptance-local": "testcafe chromium --selector-timeout 5000 -S -s tests/acceptance/screenshots tests/acceptance",
    "build": "webpack --node-env=production",
    "build-analyze": "webpack --node-env=analyze",
    "build-dev": "webpack --node-env=development",
    "debug": "webpack --stats-error-details",
    "dep-list": "npx npm-check-updates",
    "fmt": "eslint --cache --fix src/ *.js eslint.config.mjs",
    "fmt-npm": "prettier --write package.json",
    "gettext-compile": "cross-env GETTEXT_MERGE=1 vue-gettext-compile --config gettext.config.js",
    "gettext-extract": "cross-env GETTEXT_MERGE=0 vue-gettext-extract --config gettext.config.js",
    "lint": "eslint --cache src/ *.js",
    "test": "cross-env TZ=UTC BUILD_ENV=development NODE_ENV=development BABEL_ENV=test vitest run",
    "test-watch": "cross-env TZ=UTC BUILD_ENV=development NODE_ENV=development BABEL_ENV=test vitest --watch",
    "test-coverage": "cross-env TZ=UTC BUILD_ENV=development NODE_ENV=development BABEL_ENV=test vitest run --coverage",
    "test-component": "cross-env TZ=UTC BUILD_ENV=development NODE_ENV=development BABEL_ENV=test vitest run tests/vitest/component",
    "testcafe": "testcafe",
    "trace": "webpack --stats-children",
    "update": "npm update --save --package-lock --ignore-scripts --no-fund && npm install --ignore-scripts --no-fund --no-audit --no-update-notifier",
    "security:scan": "npm run -s security:scan-installs && npm run -s security:scan-xss",
    "security:scan-installs": "sh -lc 'set -e; MATCHES=\"$(rg -n --hidden --glob !**/.git/** -S \"npm (ci|install|update)\" ./Makefile ./package.json 2>/dev/null || true)\"; if [ -z \"$MATCHES\" ]; then echo \"No npm install/update/ci commands found in frontend/\"; exit 0; fi; VIOLATIONS=\"$(printf %s \"$MATCHES\" | rg -v -e \"ignore-scripts\" -e \"install .* -g npm\" -e \"update .* -g npm\" -e \":[0-9]+:\\s*#\" -e \"install-npm\" || true)\"; if [ -n \"$VIOLATIONS\" ]; then echo \"ERROR: npm install/update/ci without --ignore-scripts (exceptions excluded)\"; printf %s\\n \"$VIOLATIONS\"; exit 1; fi; echo \"OK: All frontend installs/updates use --ignore-scripts or are allowed exceptions.\"'",
    "security:scan-xss": "sh -lc 'set -e; if rg -n --glob \"src/**\" -S \"v-html=\\\"\" src >/dev/null; then echo \"ERROR: v-html usage detected; prefer v-sanitize or $util.sanitizeHtml()\"; rg -n --glob \"src/**\" -S \"v-html=\\\"\" src; exit 1; else echo \"OK: No v-html usage detected.\"; fi'",
    "watch": "webpack --watch"
  },
  "browserslist": [
    ">0.25% and last 2 years"
  ],
  "dependencies": {
    "@babel/cli": "^7.28.3",
    "@babel/core": "^7.28.5",
    "@babel/plugin-transform-runtime": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "@babel/register": "^7.28.3",
    "@babel/runtime": "^7.28.4",
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.33.0",
    "@mdi/font": "^7.4.47",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@vitejs/plugin-react": "^5.1.1",
    "@vitejs/plugin-vue": "^6.0.2",
    "@vitest/browser": "^3.2.4",
    "@vitest/coverage-v8": "^3.2.4",
    "@vitest/ui": "^3.2.4",
    "@vue/compiler-sfc": "^3.5.18",
    "@vue/language-server": "^3.1.5",
    "@vue/test-utils": "^2.4.6",
    "@vvo/tzdb": "^6.197.0",
    "axios": "^1.13.2",
    "axios-mock-adapter": "^2.1.0",
    "babel-loader": "^10.0.0",
    "babel-plugin-istanbul": "^7.0.1",
    "babel-plugin-polyfill-corejs3": "^0.13.0",
    "browserslist": "^4.28.0",
    "cheerio": "1.0.0-rc.12",
    "core-js": "^3.47.0",
    "cross-env": "^7.0.3",
    "css-loader": "^7.1.2",
    "cssnano": "^7.1.2",
    "escape-string-regexp": "^4.0.0",
    "eslint": "^9.39.1",
    "eslint-config-prettier": "^10.1.8",
    "eslint-formatter-pretty": "^6.0.1",
    "eslint-plugin-html": "^8.1.3",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-prettier": "^5.5.4",
    "eslint-plugin-vue": "^10.6.1",
    "eslint-plugin-vuetify": "^2.5.3",
    "eslint-webpack-plugin": "^5.0.2",
    "eventsource-polyfill": "^0.9.6",
    "file-loader": "^6.2.0",
    "file-saver": "^2.0.5",
    "floating-vue": "^5.2.2",
    "globals": "^16.5.0",
    "hls.js": "^1.6.15",
    "i": "^0.3.7",
    "jsdom": "^26.1.0",
    "luxon": "^3.7.2",
    "maplibre-gl": "^5.13.0",
    "memoize-one": "^6.0.0",
    "mini-css-extract-plugin": "^2.9.4",
    "minimist": "^1.2.8",
    "node-storage-shim": "^2.0.1",
    "passive-events-support": "^1.1.0",
    "photoswipe": "^5.4.4",
    "playwright": "^1.57.0",
    "postcss": "^8.5.6",
    "postcss-import": "^16.1.1",
    "postcss-loader": "^8.2.0",
    "postcss-preset-env": "^10.4.0",
    "postcss-reporter": "^7.1.0",
    "postcss-url": "^10.1.3",
    "prettier": "^3.7.0",
    "pubsub-js": "^1.9.5",
    "regenerator-runtime": "^0.14.1",
    "resolve-url-loader": "^5.0.0",
    "sanitize-html": "^2.17.0",
    "sass": "^1.94.2",
    "sass-loader": "^16.0.6",
    "sockette": "^2.0.6",
    "style-loader": "^4.0.0",
    "svg-url-loader": "^8.0.0",
    "tar": "^7.5.2",
    "url-loader": "^4.1.1",
    "util": "^0.12.5",
    "vite-tsconfig-paths": "^5.1.4",
    "vitest": "^3.2.4",
    "vue": "^3.5.18",
    "vue-3-sanitize": "^0.1.4",
    "vue-loader": "^17.4.2",
    "vue-loader-plugin": "^1.3.0",
    "vue-luxon": "^0.10.0",
    "vue-router": "^4.6.3",
    "vue-sanitize-directive": "^0.2.1",
    "vue-style-loader": "^4.1.3",
    "vue3-gettext": "^2.4.0",
    "vuetify": "^3.11.0",
    "webpack": "^5.103.0",
    "webpack-bundle-analyzer": "^4.10.2",
    "webpack-cli": "^6.0.1",
    "webpack-hot-middleware": "^2.26.1",
    "webpack-manifest-plugin": "^5.0.1",
    "webpack-md5-hash": "^0.0.6",
    "webpack-merge": "^6.0.1",
    "webpack-plugin-vuetify": "^3.1.2",
    "workbox-webpack-plugin": "^7.4.0"
  },
  "engines": {
    "node": ">= 18.0.0",
    "npm": ">= 9.0.0",
    "yarn": "please use npm"
  },
  "overrides": {
    "@ctrl/tinycolor": "^4.1.3",
    "color-convert": "2.0.1",
    "color-name": "1.1.4"
  }
}
