The backend now serves the Vue admin UI as static files with SPA fallback, eliminating the need for a separate web server. Dockerfile builds both frontend and backend in a multi-stage pipeline. Added build:web and build:all scripts, updated CI to verify frontend builds, and fixed vitest config to exclude Playwright tests. Co-Authored-By: Paperclip <noreply@paperclip.ing>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "cookiebridge",
|
|
"version": "0.1.0",
|
|
"description": "Cross-device cookie synchronization with E2E encryption",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:web": "cd web && npm run build && cd .. && rm -rf public && cp -r web/dist public",
|
|
"build:all": "npm run build && npm run build:web",
|
|
"start": "tsx src/cli.ts",
|
|
"dev": "tsx --watch src/cli.ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"keywords": [
|
|
"cookies",
|
|
"sync",
|
|
"encryption",
|
|
"browser-extension"
|
|
],
|
|
"author": "Rc707Agency",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"dependencies": {
|
|
"better-sqlite3": "^12.8.0",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"mysql2": "^3.20.0",
|
|
"sodium-native": "^5.1.0",
|
|
"typescript": "^5.9.3",
|
|
"uuid": "^13.0.0",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/node": "^25.5.0",
|
|
"@types/sodium-native": "^2.3.9",
|
|
"@types/uuid": "^10.0.0",
|
|
"@types/ws": "^8.18.1",
|
|
"tsx": "^4.21.0",
|
|
"vitest": "^4.1.0"
|
|
}
|
|
}
|