36223f663e
* feat: add astro/compat entrypoint for vitest * chore: add with-vitest example * chore: add vitest as optional peer dependency * chore: update lockfile * refactor: remove astro/compat, use astro/config * feat: allow arbitrary modes for `create-vite` * feat: pass vite mode and command when using `getViteConfig` * chore: remove vitest from peer deps * chore: add changeset * chore: update lockfile Co-authored-by: Nate Moore <nate@astro.build>
17 lines
329 B
JSON
17 lines
329 B
JSON
{
|
|
"name": "@example/with-vitest",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"test": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"astro": "^1.0.0-rc.4",
|
|
"vitest": "^0.20.3"
|
|
}
|
|
}
|