package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "grabzilla",
  3. "version": "2.1.0",
  4. "description": "A standalone desktop application for downloading YouTube videos",
  5. "main": "src/main.js",
  6. "scripts": {
  7. "setup": "node setup.js",
  8. "start": "electron .",
  9. "dev": "electron . --dev",
  10. "build": "electron-builder",
  11. "build:mac": "electron-builder --mac",
  12. "build:win": "electron-builder --win",
  13. "build:linux": "electron-builder --linux",
  14. "test": "node run-tests.js",
  15. "test:ui": "vitest --ui",
  16. "test:run": "node run-tests.js",
  17. "test:watch": "vitest --watch",
  18. "test:unit": "vitest run tests/video-model.test.js tests/state-management.test.js tests/ipc-integration.test.js --reporter=verbose",
  19. "test:validation": "vitest run tests/url-validation-simple.test.js --reporter=verbose",
  20. "test:components": "vitest run tests/status-components.test.js tests/ffmpeg-conversion.test.js --reporter=verbose",
  21. "test:system": "vitest run tests/cross-platform.test.js tests/error-handling.test.js --reporter=verbose",
  22. "test:accessibility": "vitest run tests/accessibility.test.js --reporter=verbose",
  23. "test:integration": "echo 'Integration tests require binaries - run manually if needed'",
  24. "test:e2e": "echo 'E2E tests require Playwright setup - run manually if needed'",
  25. "test:all": "node run-tests.js",
  26. "postinstall": "node setup.js"
  27. },
  28. "dependencies": {
  29. "node-notifier": "^10.0.1"
  30. },
  31. "devDependencies": {
  32. "electron": "33.0.0",
  33. "@playwright/test": "^1.40.0",
  34. "@vitest/ui": "^3.2.4",
  35. "electron-builder": "^24.0.0",
  36. "jsdom": "^23.0.0",
  37. "vitest": "^3.2.4"
  38. },
  39. "build": {
  40. "appId": "com.grabzilla.app",
  41. "productName": "GrabZilla",
  42. "directories": {
  43. "output": "dist"
  44. },
  45. "files": [
  46. "src/**/*",
  47. "assets/**/*",
  48. "binaries/**/*",
  49. "styles/**/*",
  50. "scripts/**/*",
  51. "index.html",
  52. "node_modules/**/*"
  53. ],
  54. "mac": {
  55. "category": "public.app-category.utilities",
  56. "target": "dmg",
  57. "icon": "assets/icons/logo.png"
  58. },
  59. "win": {
  60. "target": "nsis",
  61. "icon": "assets/icons/logo.png"
  62. },
  63. "linux": {
  64. "target": "AppImage",
  65. "icon": "assets/icons/logo.png"
  66. }
  67. }
  68. }