Scaffold Svelte frontend and browser test matrix
Establish the TypeScript 7, Oxlint, Vitest, and Playwright workspace with an isolated Svelte diagnostics compatibility boundary.
This commit is contained in:
parent
66991b85b2
commit
9156b75c62
1 changed files with 2545 additions and 0 deletions
40
web/package.json
Normal file
40
web/package.json
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name": "@remora/web",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "[email protected]",
|
||||
"engines": {
|
||||
"node": "24.18.0",
|
||||
"pnpm": "11.13.0"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "tsc --noEmit -p ./tsconfig.app.json && tsc --noEmit -p ./tsconfig.node.json && tsc --noEmit -p ./tsconfig.test.json && pnpm --filter @remora/svelte-check-compat check",
|
||||
"lint": "oxlint --threads 1 --deny-warnings src tests *.config.ts && prettier --check .",
|
||||
"test": "vitest run --config vitest.config.ts",
|
||||
"test:unit": "vitest run --config vitest.unit.config.ts",
|
||||
"test:component": "vitest run --config vitest.browser.config.ts",
|
||||
"test:component:full": "vitest run --config vitest.browser-full.config.ts",
|
||||
"test:e2e": "playwright test --project=chromium",
|
||||
"test:e2e:full": "playwright test"
|
||||
},
|
||||
"dependencies": {
|
||||
"svelte": "5.56.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.61.1",
|
||||
"@sveltejs/vite-plugin-svelte": "7.2.0",
|
||||
"@vitest/browser-playwright": "4.1.10",
|
||||
"oxlint": "1.74.0",
|
||||
"oxlint-tsgolint": "0.24.0",
|
||||
"prettier": "3.9.5",
|
||||
"prettier-plugin-svelte": "4.1.1",
|
||||
"typescript": "7.0.2",
|
||||
"vite": "8.1.4",
|
||||
"vitest": "4.1.10",
|
||||
"vitest-browser-svelte": "3.0.0"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue