package.json

2.8 KB · raw

1{2  "name": "peach",3  "version": "3.7.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    "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": "bun run scripts/release.ts",21    "release:chrome": "bun run scripts/release.ts --chrome-only",22    "release:firefox": "bun run scripts/release-firefox.ts",23    "submit:firefox": "web-ext sign --source-dir dist-firefox --artifacts-dir artifacts --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET --channel=listed"24  },25  "engines": {26    "node": ">=26.0.0",27    "npm": ">=10.0.0"28  },29  "dependencies": {30    "@bokuweb/zstd-wasm": "^0.0.27",31    "@stablelib/blake2s": "^2.0.1",32    "@stablelib/chacha20poly1305": "^2.0.1",33    "@stablelib/hkdf": "^2.0.1",34    "@stablelib/hmac": "^2.0.1",35    "@stablelib/sha256": "^2.0.1",36    "@stablelib/x25519": "^2.0.1",37    "@subspace/reed-solomon-erasure.wasm": "^0.2.5",38    "@zxing/library": "^0.23.0",39    "bwip-js": "^4.10.1",40    "hash-wasm": "^4.12.0",41    "otpauth": "^9.5.0",42    "pako": "^2.1.0",43    "papaparse": "^5.5.3",44    "pdf-lib": "^1.17.1",45    "pdfjs-dist": "^5.7.284",46    "tldts": "^7.0.28",47    "zxcvbn": "^4.4.2"48  },49  "devDependencies": {50    "@crxjs/vite-plugin": "^2.4.0",51    "@playwright/test": "^1.59.1",52    "@types/chrome": "^0.1.40",53    "@types/node": "^22.0.0",54    "@types/pako": "^2.0.4",55    "@types/papaparse": "^5.5.2",56    "@types/zxcvbn": "^4.4.5",57    "@vitest/ui": "^4.1.4",58    "chrome-webstore-upload-cli": "^4.0.0",59    "jsdom": "^29.0.2",60    "playwright": "^1.59.1",61    "typescript": "^6.0.3",62    "vite-plugin-solid": "^2.11.12",63    "vitest": "^4.1.4",64    "web-ext": "^10.2.0"65  },66  "overrides": {67    "rollup": "^4.0.0"68  }69}