mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
17 lines
383 B
TypeScript
17 lines
383 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globalSetup: "./packages/cli/tests/e2e/global-setup.ts",
|
|
testTimeout: 60_000,
|
|
hookTimeout: 60_000,
|
|
},
|
|
staged: {
|
|
"*.{js,mjs,cjs,ts,mts,cts,jsx,tsx,json,yaml,yml}": "vp check --fix",
|
|
},
|
|
lint: { options: { typeAware: true, typeCheck: true } },
|
|
run: {
|
|
cache: true,
|
|
},
|
|
});
|