mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"name": "@vitest/monorepo",
|
|
"type": "module",
|
|
"version": "0.10.1",
|
|
"private": true,
|
|
"packageManager": "pnpm@7.0.0",
|
|
"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 run test --allowOnly",
|
|
"test:ci": "cross-env CI=true pnpm -r --stream --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.23.0",
|
|
"@antfu/ni": "^0.16.2",
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/node": "^17.0.31",
|
|
"@types/ws": "^8.5.3",
|
|
"bumpp": "^7.1.1",
|
|
"c8": "^7.11.2",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "~0.14.38",
|
|
"eslint": "^8.14.0",
|
|
"esno": "^0.14.1",
|
|
"fast-glob": "^3.2.11",
|
|
"if-node-version": "^1.1.1",
|
|
"lint-staged": "^12.4.1",
|
|
"magic-string": "^0.26.1",
|
|
"node-fetch": "^3.2.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"ohmyfetch": "^0.4.16",
|
|
"pathe": "^0.2.0",
|
|
"pnpm": "^7.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.71.1",
|
|
"rollup-plugin-dts": "^4.2.1",
|
|
"rollup-plugin-esbuild": "^4.9.1",
|
|
"rollup-plugin-license": "^2.7.0",
|
|
"simple-git-hooks": "^2.7.0",
|
|
"typescript": "^4.6.4",
|
|
"vite": "^2.9.5",
|
|
"vitepress": "^0.22.3",
|
|
"vitest": "workspace:*",
|
|
"vue": "^3.2.33"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "^2.9.5",
|
|
"happy-dom": "^2.55.0",
|
|
"vitest": "workspace:*"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,tsx,vue,md}": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
}
|
|
}
|