mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
89 lines
2.8 KiB
JSON
89 lines
2.8 KiB
JSON
{
|
|
"name": "@vitest/monorepo",
|
|
"type": "module",
|
|
"version": "0.9.3",
|
|
"private": true,
|
|
"packageManager": "pnpm@6.32.6",
|
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
"scripts": {
|
|
"build": "pnpm -r --filter {packages} run build",
|
|
"ci": "ni && nr typecheck && nr lint && nr build && nr test:all",
|
|
"dev": "pnpm -r --parallel --filter vitest --filter ui --filter web-worker --filter vite-node run dev",
|
|
"docs": "npm -C docs run dev",
|
|
"docs:build": "npm -C docs run build",
|
|
"docs:serve": "npm -C docs run serve",
|
|
"docs:https": "npm -C docs run preview-https",
|
|
"docs:examples": "esmo scripts/update-examples.ts",
|
|
"docs:contributors": "esmo scripts/update-contributors.ts",
|
|
"postinstall": "pnpm -C examples/vue2 i",
|
|
"lint": "eslint .",
|
|
"lint:fix": "nr lint --fix",
|
|
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public",
|
|
"test": "vitest --api -r test/core",
|
|
"test:run": "vitest run -r test/core",
|
|
"test:all": "cross-env CI=true pnpm -r --stream --filter !@vitest/monorepo run test -- --allowOnly",
|
|
"test:ci": "cross-env CI=true pnpm -r --stream --filter !@vitest/monorepo --filter !test-fails run test -- --allowOnly",
|
|
"typecheck": "tsc --noEmit",
|
|
"ui:build": "vite build packages/ui",
|
|
"ui:dev": "vite packages/ui",
|
|
"ui:test": "npm -C packages/ui run test:run"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.20.6",
|
|
"@antfu/ni": "^0.14.0",
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-commonjs": "^21.1.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.2.1",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/node": "^17.0.25",
|
|
"bumpp": "^7.1.1",
|
|
"c8": "^7.11.2",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "~0.14.37",
|
|
"eslint": "^8.13.0",
|
|
"esno": "^0.14.1",
|
|
"fast-glob": "^3.2.11",
|
|
"if-node-version": "^1.1.1",
|
|
"magic-string": "^0.26.1",
|
|
"node-fetch": "^3.2.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"ohmyfetch": "^0.4.15",
|
|
"pathe": "^0.2.0",
|
|
"pnpm": "^6.32.9",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.70.2",
|
|
"rollup-plugin-dts": "^4.2.1",
|
|
"rollup-plugin-esbuild": "^4.9.1",
|
|
"rollup-plugin-license": "^2.7.0",
|
|
"typescript": "^4.6.3",
|
|
"vite": "^2.9.5",
|
|
"vitepress": "^0.22.3",
|
|
"vitest": "workspace:*",
|
|
"vue": "^3.2.33"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "^2.9.5"
|
|
}
|
|
},
|
|
"vite": {
|
|
"optimizeDeps": {
|
|
"include": [
|
|
"@vueuse/core",
|
|
"birpc",
|
|
"codemirror",
|
|
"codemirror/addon/display/placeholder",
|
|
"codemirror/mode/javascript/javascript",
|
|
"codemirror/mode/jsx/jsx",
|
|
"codemirror/mode/xml/xml",
|
|
"d3-graph-controller",
|
|
"flatted",
|
|
"floating-vue",
|
|
"splitpanes",
|
|
"vue-router"
|
|
]
|
|
}
|
|
}
|
|
}
|