---
 to: package.json
---
{
  "name": "<%= appName %>",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "copy:dist": "rm -rf dist && mkdir -p dist && cp src/*.* dist/ && cp manifest.json dist/ && cp public/*.* dist/",
    "build": "tsc -p tsconfig.app.json && if ls src/widgets/*/index.html >/dev/null 2>&1; then vite build; else npm run copy:dist; fi && youtrack-app app validate",
    "lint": "eslint --report-unused-disable-directives --max-warnings 0",
    "test": "echo 'no tests'",
    "pack": "rm -rf <%= appName %>.zip && cd dist/ && bestzip ../<%= appName %>.zip *",
    "upload": "youtrack-app app upload"
  },
  "dependencies": {
    "@jetbrains/ring-ui-built": "^7.0.8",
    "core-js": "3.38.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
  "devDependencies": {
    "@eslint/compat": "^1.2.1",
    "@eslint/eslintrc": "^3.1.0",
    "@eslint/js": "^9.13.0",
    "@jetbrains/eslint-config": "^6.0.2",
    "@jetbrains/youtrack-apps-tools": "^1.0.0",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "@vitejs/plugin-react": "^4.3.4",
    "bestzip": "^2.2.1",
    "eslint": "^9.13.0",
    "eslint-plugin-jsx-a11y": "^6.8.0",
    "eslint-plugin-react": "^7.34.1",
    "eslint-plugin-react-hooks": "^5.0.0",
    "eslint-plugin-react-refresh": "^0.4.6",
    "globals": "^15.11.0",
    "typescript": "^5.7.2",
    "typescript-eslint": "^8.0.1",
    "vite": "^6.0.1",
    "vite-plugin-static-copy": "^2.2.0"
  }
}
