mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
94 lines
3.2 KiB
JSON
94 lines
3.2 KiB
JSON
{
|
|
"name": "@vitest/monorepo",
|
|
"type": "module",
|
|
"version": "0.23.1",
|
|
"private": true,
|
|
"packageManager": "pnpm@7.10.0",
|
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
"scripts": {
|
|
"ci": "ni && nr typecheck && nr lint && nr build && nr test:all",
|
|
"build": "pnpm -r --filter=./packages/** run build",
|
|
"dev": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm -r --parallel --filter=./packages/** run dev",
|
|
"docs": "pnpm -C docs run dev",
|
|
"docs:build": "pnpm -C docs run build",
|
|
"docs:serve": "pnpm -C docs run serve",
|
|
"docs:https": "pnpm -C docs run preview-https",
|
|
"docs:https-no-prefetch": "pnpm -C docs run preview-https-no-prefetch",
|
|
"docs:examples": "esno scripts/update-examples.ts",
|
|
"docs:contributors": "esno scripts/update-contributors.ts",
|
|
"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 run test --allowOnly",
|
|
"test:ci": "cross-env CI=true pnpm -r --stream --filter !test-fails --filter !test-browser --filter !test-esm run test --allowOnly",
|
|
"test:ci:single-thread": "cross-env CI=true pnpm -r --stream --filter !test-fails --filter !test-esm run test --allowOnly --no-threads",
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:why": "tsc --noEmit --explainFiles > explainTypes.txt",
|
|
"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.26.3",
|
|
"@antfu/ni": "^0.18.0",
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/lodash": "^4.14.184",
|
|
"@types/node": "^18.7.13",
|
|
"@types/ws": "^8.5.3",
|
|
"@vitest/browser": "workspace:*",
|
|
"@vitest/coverage-c8": "workspace:*",
|
|
"@vitest/coverage-istanbul": "workspace:*",
|
|
"@vitest/ui": "workspace:*",
|
|
"bumpp": "^8.2.1",
|
|
"c8": "^7.12.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.15.7",
|
|
"eslint": "^8.23.0",
|
|
"esno": "^0.16.3",
|
|
"fast-glob": "^3.2.11",
|
|
"if-node-version": "^1.1.1",
|
|
"lint-staged": "^13.0.3",
|
|
"magic-string": "^0.26.3",
|
|
"node-fetch-native": "^0.1.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"ohmyfetch": "^0.4.18",
|
|
"pathe": "^0.2.0",
|
|
"pnpm": "7.10.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "~2.79.0",
|
|
"rollup-plugin-dts": "^4.2.2",
|
|
"rollup-plugin-esbuild": "^4.10.1",
|
|
"rollup-plugin-license": "^2.8.1",
|
|
"simple-git-hooks": "^2.8.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsup": "^6.2.3",
|
|
"typescript": "^4.8.2",
|
|
"vite": "^3.0.9",
|
|
"vitest": "workspace:*",
|
|
"vue": "latest"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"esbuild": "^0.14.47",
|
|
"vite": "^3.0.9",
|
|
"vitest": "workspace:*",
|
|
"rollup": "~2.77.3",
|
|
"ts-node": "^10.9.1"
|
|
}
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,tsx,vue,md}": [
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|