- Switch @bytelyst/* deps from link: to private Gitea registry (^0.x) - Add .npmrc pointing to gitea.bytelyst.com private npm registry - Rewrite backend/Dockerfile: monorepo root context, pnpm workspace, correct EXPOSE 4018, CMD node dist/backend/src/bootstrap.js - Move vercel.json to repo root with pnpm filter build commands - Remove web/Dockerfile and web/nginx.conf (web is Vercel-only) - Remove web service from docker-compose.yml (backend Docker only) - Document GITEA_NPM_TOKEN requirement in .env.example - Fix start script path: dist/backend/src/bootstrap.js (rootDir: "..") PREREQUISITE: Set GITEA_NPM_TOKEN and run pnpm install to regenerate pnpm-lock.yaml before first Docker build. Vercel settings: Root Directory = repo root, add GITEA_NPM_TOKEN env var. Docker build: GITEA_NPM_TOKEN=<token> docker compose build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "@bytelyst/trading-web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"typecheck": "tsc -b --pretty false",
|
|
"test": "vitest run",
|
|
"coverage": "vitest run --coverage",
|
|
"coverage:full": "vitest run --coverage --config vitest.full.config.ts",
|
|
"check": "npm run build && npm run lint && npm run format",
|
|
"check:test": "npm run test",
|
|
"pre-deploy": "npm run check && npm run check:test",
|
|
"lint": "eslint .",
|
|
"format": "eslint . --fix",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/kill-switch-client": "^0.1.0",
|
|
"@bytelyst/react-auth": "^0.1.1",
|
|
"@bytelyst/telemetry-client": "^0.1.0",
|
|
"lucide-react": "^0.562.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"recharts": "^3.6.0",
|
|
"socket.io-client": "^4.8.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"agentation": "^2.2.0",
|
|
"autoprefixer": "^10.4.23",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"jsdom": "^28.1.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vite": "^7.2.4",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|