625fc3135a
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 10s
CI / integration (pull_request) Successful in 19s
CI / ui (pull_request) Successful in 1m9s
CI / conformance (pull_request) Successful in 9s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m41s
The offer is the legal document a purchase accepts, needed before real-money intake goes live. Convert the source PDF to an editable ui/legal/offer_ru.md and render it to a standalone static dist/offer/index.html at build (a vite emit-offer plugin using marked); the landing container serves it at /offer/, with a bare /offer redirecting in. Add a small centered "Публичная оферта" footer link on the landing (ru/en) and a CI probe asserting /offer/ serves the page rather than silently falling through to the landing shell.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "scrabble-ui",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"description": "Scrabble game client (plain Svelte 5 + Vite). Talks to the gateway over Connect-RPC + FlatBuffers.",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"start": "vite --mode mock",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"codegen": "rm -rf src/gen && flatc --ts -o src/gen/fbs ../pkg/fbs/scrabble.fbs && buf generate ../gateway --template buf.gen.yaml",
|
|
"test:unit": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@bufbuild/protobuf": "^2.12.0",
|
|
"@connectrpc/connect": "^2.1.0",
|
|
"@connectrpc/connect-web": "^2.1.0",
|
|
"@vkontakte/vk-bridge": "^3.0.2",
|
|
"flatbuffers": "^25.9.23"
|
|
},
|
|
"devDependencies": {
|
|
"@bufbuild/protoc-gen-es": "^2.12.0",
|
|
"@playwright/test": "^1.49.0",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
"@types/node": "^22.10.0",
|
|
"core-js-bundle": "^3.49.0",
|
|
"marked": "^18.0.5",
|
|
"svelte": "^5.15.0",
|
|
"svelte-check": "^4.1.0",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-pwa": "^0.21.2",
|
|
"vitest": "^3.0.0",
|
|
"workbox-core": "^7.4.1",
|
|
"workbox-precaching": "^7.4.1",
|
|
"workbox-routing": "^7.4.1"
|
|
}
|
|
}
|