test: add stage a prototype contracts

This commit is contained in:
hailin
2026-07-10 15:14:07 +08:00
parent ef55b97a0f
commit bbf32f94b4
7 changed files with 1464 additions and 3 deletions

View File

@@ -7,7 +7,9 @@
"dev": "vite",
"build": "tsc -b && vite build",
"typecheck": "tsc -b",
"lint": "eslint src --ext ts,tsx"
"lint": "eslint src --ext ts,tsx",
"test": "vitest",
"test:run": "vitest run"
},
"dependencies": {
"@fontsource-variable/geist": "^5.2.9",
@@ -27,14 +29,19 @@
"vite": "^6.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^26.0.1",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.16.0",
"jsdom": "^26.1.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.0"
"typescript": "^5.7.0",
"vitest": "^3.2.7"
}
}