package.json

2.9 KB · raw

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