astro/examples/with-vitest/package.json
Nate Moore 36223f663e
Add getViteConfig helper (#4154)
* 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>
2022-08-05 14:41:01 -05:00

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"
}
}