mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-03-29 12:19:58 +00:00
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"name": "@simplex-chat/xftp-web",
|
|
"version": "0.2.0",
|
|
"description": "XFTP file transfer protocol client for web/browser environments",
|
|
"license": "AGPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/simplex-chat/simplexmq.git",
|
|
"directory": "xftp-web"
|
|
},
|
|
"type": "module",
|
|
"main": "dist-web/index.html",
|
|
"files": [
|
|
"src",
|
|
"web",
|
|
"dist",
|
|
"dist-web"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build && npm run build:prod",
|
|
"pretest": "ln -sf ../../../libsodium-sumo/dist/modules-sumo-esm/libsodium-sumo.mjs node_modules/libsodium-wrappers-sumo/dist/modules-sumo-esm/libsodium-sumo.mjs && npx playwright install chromium",
|
|
"build": "tsc",
|
|
"test": "vitest",
|
|
"dev": "npx tsx test/runSetup.ts && vite --mode development",
|
|
"build:local": "npx tsx test/runSetup.ts && vite build --mode development",
|
|
"build:prod": "vite build --mode production",
|
|
"preview": "vite preview",
|
|
"preview:local": "npm run build:local && vite preview",
|
|
"preview:prod": "vite build --mode production && vite preview",
|
|
"check:web": "tsc -p tsconfig.web.json --noEmit && tsc -p tsconfig.worker.json --noEmit",
|
|
"test:page": "playwright test test/page.spec.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|
|
"@types/node": "^20.0.0",
|
|
"@types/pako": "^2.0.3",
|
|
"@vitest/browser": "^3.0.0",
|
|
"@playwright/test": "^1.50.0",
|
|
"playwright": "^1.50.0",
|
|
"typescript": "^5.4.0",
|
|
"vite": "^6.0.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@noble/curves": "^1.9.7",
|
|
"libsodium-wrappers-sumo": "^0.7.13",
|
|
"pako": "^2.1.0"
|
|
}
|
|
}
|