package.json

3.1 KB · raw

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