package.json

2.2 KB · raw

1{2  "name": "peach",3  "version": "3.0.0",4  "description": "Zero-knowledge password manager",5  "type": "module",6  "scripts": {7    "dev": "vite",8    "build": "npm run build:chrome && npm run build:firefox && npm run build:mobile",9    "build:chrome": "node scripts/clean-chrome-dist.mjs && BUILD_TARGET=chrome vite build && node scripts/sync-chrome-dist.mjs",10    "build:firefox": "node scripts/clean-firefox-artifacts.mjs && BUILD_TARGET=firefox vite build",11    "build:mobile": "vite build --config vite.config.mobile.ts",12    "build:e2e": "PEACH_E2E_PASSKEYS=1 BUILD_TARGET=chrome vite build && node scripts/sync-chrome-dist.mjs",13    "package:firefox": "node scripts/clean-firefox-artifacts.mjs && npm run build:firefox && cd dist-firefox && web-ext build --overwrite-dest",14    "typecheck": "tsc --noEmit",15    "test": "vitest run",16    "test:watch": "vitest",17    "test:passkeys": "npm run build:e2e && playwright test tests/passkeys.spec.ts",18    "ci": "bun run scripts/ci.ts"19  },20  "engines": {21    "node": ">=26.0.0",22    "npm": ">=10.0.0"23  },24  "dependencies": {25    "@bokuweb/zstd-wasm": "^0.0.27",26    "@digitaldefiance/reed-solomon-erasure.wasm": "^1.0.2",27    "@stablelib/blake2s": "^2.0.1",28    "@stablelib/chacha20poly1305": "^2.0.1",29    "@stablelib/hkdf": "^2.0.1",30    "@stablelib/hmac": "^2.0.1",31    "@stablelib/sha256": "^2.0.1",32    "@stablelib/x25519": "^2.0.1",33    "@zxing/library": "^0.23.0",34    "bwip-js": "^4.10.1",35    "hash-wasm": "^4.12.0",36    "jsqr": "^1.4.0",37    "otpauth": "^9.5.0",38    "pako": "^2.1.0",39    "papaparse": "^5.5.3",40    "pdf-lib": "^1.17.1",41    "pdfjs-dist": "^5.7.284",42    "qrcode": "^1.5.4",43    "tldts": "^7.0.28",44    "zxcvbn": "^4.4.2"45  },46  "devDependencies": {47    "@crxjs/vite-plugin": "^2.4.0",48    "@playwright/test": "^1.59.1",49    "@types/chrome": "^0.1.40",50    "@types/node": "^22.0.0",51    "@types/pako": "^2.0.4",52    "@types/papaparse": "^5.5.2",53    "@types/qrcode": "^1.5.6",54    "@types/zxcvbn": "^4.4.5",55    "@vitest/ui": "^4.1.4",56    "jsdom": "^29.0.2",57    "playwright": "^1.59.1",58    "typescript": "^6.0.3",59    "vite-plugin-solid": "^2.11.12",60    "vitest": "^4.1.4",61    "web-ext": "^10.1.0"62  },63  "overrides": {64    "rollup": "^4.0.0"65  }66}