package.json

2.6 KB · raw

1{2  "name": "peach",3  "version": "3.6.99",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    "package:source": "zip -r peach-source.zip src scripts public manifest.json manifest.firefox.json package.json package-lock.json tsconfig.json vite.config.ts vite.config.firefox.ts vite.config.chrome.ts vite.config.mobile.ts --exclude 'node_modules/*' --exclude 'dist-*/*' --exclude '*.zip'",20    "release:firefox": "bun run scripts/release-firefox.ts",21    "submit:firefox": "web-ext sign --source-dir dist-firefox --artifacts-dir artifacts --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET --channel=listed"22  },23  "engines": {24    "node": ">=26.0.0",25    "npm": ">=10.0.0"26  },27  "dependencies": {28    "@bokuweb/zstd-wasm": "^0.0.27",29    "@stablelib/blake2s": "^2.0.1",30    "@stablelib/chacha20poly1305": "^2.0.1",31    "@stablelib/hkdf": "^2.0.1",32    "@stablelib/hmac": "^2.0.1",33    "@stablelib/sha256": "^2.0.1",34    "@stablelib/x25519": "^2.0.1",35    "@subspace/reed-solomon-erasure.wasm": "^0.2.5",36    "@zxing/library": "^0.23.0",37    "bwip-js": "^4.10.1",38    "hash-wasm": "^4.12.0",39    "otpauth": "^9.5.0",40    "pako": "^2.1.0",41    "papaparse": "^5.5.3",42    "pdf-lib": "^1.17.1",43    "pdfjs-dist": "^5.7.284",44    "tldts": "^7.0.28",45    "zxcvbn": "^4.4.2"46  },47  "devDependencies": {48    "@crxjs/vite-plugin": "^2.4.0",49    "@playwright/test": "^1.59.1",50    "@types/chrome": "^0.1.40",51    "@types/node": "^22.0.0",52    "@types/pako": "^2.0.4",53    "@types/papaparse": "^5.5.2",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.2.0"62  },63  "overrides": {64    "rollup": "^4.0.0"65  }66}