Initial commit: Text Adventure Game
Features: - Combat system with AP/EP hit calculation and three-layer defense - Auto-combat/farming mode - Item system with stacking support - Skill system with levels, milestones, and parent skill sync - Shop system with dynamic pricing - Inventory management with bulk selling - Event system - Game loop with offline earnings - Save/Load system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
21
vitest.config.js.bak
Normal file
21
vitest.config.js.bak
Normal file
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
include: ['tests/**/*.{test,spec}.{js,mjs,cjs}'],
|
||||
exclude: ['node_modules/', 'dist/', 'unpackage/'],
|
||||
testTimeout: 10000
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./', import.meta.url)),
|
||||
'@/components': fileURLToPath(new URL('./components', import.meta.url)),
|
||||
'@/config': fileURLToPath(new URL('./config', import.meta.url)),
|
||||
'@/store': fileURLToPath(new URL('./store', import.meta.url)),
|
||||
'@/utils': fileURLToPath(new URL('./utils', import.meta.url))
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user