package.json

2.8 KB · raw

1{2  "name": "peach",3  "version": "3.9.1",4  "description": "Zero-knowledge password manager",5  "type": "module",6  "packageManager": "[email protected]",7  "scripts": {8    "dev": "vite",9    "build": "npm run build:chrome && npm run build:firefox && npm run build:mobile",10    "build:chrome": "node scripts/clean-chrome-dist.mjs && BUILD_TARGET=chrome vite build && node scripts/sync-chrome-dist.mjs",11    "build:firefox": "node scripts/clean-firefox-artifacts.mjs && BUILD_TARGET=firefox vite build",12    "build:mobile": "vite build --config vite.config.mobile.ts",13    "build:e2e": "PEACH_E2E_PASSKEYS=1 BUILD_TARGET=chrome vite build && node scripts/sync-chrome-dist.mjs",14    "package:firefox": "node scripts/clean-firefox-artifacts.mjs && npm run build:firefox && cd dist-firefox && web-ext build --overwrite-dest",15    "typecheck": "tsc --noEmit",16    "test": "vitest run",17    "test:watch": "vitest",18    "test:passkeys": "npm run build:e2e && playwright test tests/passkeys.spec.ts",19    "ci": "bun run scripts/ci.ts",20    "package:source": "zip -r peach-source.zip src scripts public manifest.json manifest.firefox.json package.json bun.lock tsconfig.json vite.config.ts vite.config.firefox.ts vite.config.chrome.ts vite.config.mobile.ts --exclude 'node_modules/*' --exclude 'dist-*/*' --exclude '*.zip'",21    "release": "bun run scripts/release.ts",22    "release:chrome": "bun run scripts/release.ts --chrome-only",23    "release:firefox": "bun run scripts/release-firefox.ts",24    "submit:firefox": "web-ext sign --source-dir dist-firefox --artifacts-dir artifacts --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET --channel=listed"25  },26  "engines": {27    "node": ">=26.0.0",28    "npm": ">=10.0.0"29  },30  "dependencies": {31    "@bokuweb/zstd-wasm": "0.0.27",32    "@stablelib/blake2s": "2.0.1",33    "@stablelib/chacha20poly1305": "2.0.1",34    "@stablelib/hkdf": "2.0.1",35    "@stablelib/hmac": "2.0.1",36    "@stablelib/sha256": "2.0.1",37    "@stablelib/x25519": "2.0.1",38    "@subspace/reed-solomon-erasure.wasm": "0.2.5",39    "@zxing/library": "^0.23.0",40    "bwip-js": "^4.10.1",41    "hash-wasm": "4.12.0",42    "otpauth": "^9.5.0",43    "pako": "^2.1.0",44    "papaparse": "^5.5.3",45    "pdf-lib": "^1.17.1",46    "pdfjs-dist": "5.7.284",47    "tldts": "7.0.28",48    "@zxcvbn-ts/core": "3.0.4",49    "@zxcvbn-ts/language-common": "3.0.4",50    "@zxcvbn-ts/language-en": "3.0.2"51  },52  "devDependencies": {53    "@crxjs/vite-plugin": "^2.4.0",54    "@playwright/test": "^1.59.1",55    "@types/chrome": "^0.1.40",56    "@types/node": "^22.0.0",57    "@types/pako": "^2.0.4",58    "@types/papaparse": "^5.5.2",59    "@vitest/ui": "^4.1.4",60    "chrome-webstore-upload-cli": "^4.0.0",61    "jsdom": "^29.0.2",62    "playwright": "^1.59.1",63    "typescript": "^6.0.3",64    "vite-plugin-solid": "^2.11.12",65    "vitest": "^4.1.4",66    "web-ext": "^10.2.0"67  },68  "overrides": {69    "rollup": "^4.0.0"70  }71}