mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-08-12 18:24:46 +00:00
Some checks failed
CI / test (push) Waiting to run
CI / cross-compile (amd64, darwin) (push) Waiting to run
CI / cross-compile (amd64, windows) (push) Waiting to run
CI / cross-compile (arm64, darwin) (push) Waiting to run
CI / cross-compile (arm64, linux) (push) Waiting to run
CI / cross-compile (arm64, windows) (push) Waiting to run
Deploy Pages / build (push) Has been cancelled
Deploy Pages / deploy (push) Has been cancelled
Closes #544 - Change RouteErrorFallback reload to call window.location.reload() directly after clearing the session guard - Add vitest + @testing-library/react + jsdom test infrastructure for pages/ - Add ErrorBoundary.test.tsx covering 4 scenarios (chunk error reload, guard prevents double reload, non-chunk error shows fallback, reset clears guard and reloads)
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "open-code-review-landing",
|
|
"version": "1.0.0",
|
|
"description": "Landing page for Open Code Review",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "webpack serve",
|
|
"build": "NODE_ENV=production webpack --mode production",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"lint": "eslint src/",
|
|
"size": "size-limit"
|
|
},
|
|
"dependencies": {
|
|
"@agentscope-ai/icons": "^1.0.68",
|
|
"dompurify": "^3.4.11",
|
|
"marked": "^18.0.5",
|
|
"mermaid": "^11.16.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.8.0",
|
|
"three": "^0.185.0"
|
|
},
|
|
"overrides": {
|
|
"fast-uri": "^3.1.2"
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"path": "dist/*.bundle.js",
|
|
"limit": "150 kB"
|
|
}
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.5",
|
|
"@babel/preset-env": "^7.29.5",
|
|
"@babel/preset-react": "^7.23.5",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@eslint/js": "^10.0.1",
|
|
"@size-limit/file": "^13.0.1",
|
|
"@testing-library/jest-dom": "^7.0.0",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@types/three": "^0.185.0",
|
|
"@vitejs/plugin-react": "^6.0.4",
|
|
"autoprefixer": "^10.4.16",
|
|
"babel-loader": "^9.1.3",
|
|
"copy-webpack-plugin": "^14.0.0",
|
|
"css-loader": "^6.8.1",
|
|
"eslint": "^10.8.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"html-webpack-plugin": "^5.5.3",
|
|
"jsdom": "^30.0.0",
|
|
"postcss": "^8.5.15",
|
|
"postcss-loader": "^7.3.3",
|
|
"size-limit": "^13.0.1",
|
|
"style-loader": "^3.3.3",
|
|
"tailwindcss": "^3.3.5",
|
|
"typescript": "^5.3.2",
|
|
"typescript-eslint": "^8.65.0",
|
|
"vitest": "^4.1.10",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "^5.2.4"
|
|
}
|
|
}
|