Add test runner and Vite module path resolver

This commit is contained in:
CPTProgrammer
2026-07-07 01:38:09 +08:00
parent e2a4de3f45
commit 3c8b52c238
3 changed files with 1814 additions and 5 deletions
+5 -2
View File
@@ -4,7 +4,8 @@
"build": "next build",
"start": "next start",
"lint": "eslint",
"lint:fix": "eslint --fix"
"lint:fix": "eslint --fix",
"test": "vitest"
},
"dependencies": {
"@ant-design/icons": "^6.3.2",
@@ -19,6 +20,8 @@
"devDependencies": {
"@types/node": "26.1.0",
"eslint": "^10.6.0",
"typescript": "6.0.3"
"typescript": "6.0.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.10"
}
}