forked from vitest-dev/vitest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@vitest/monorepo",
"type": "module",
"version": "0.21.1",
"private": true,
"packageManager": "[email protected]",
"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": "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": "esmo scripts/update-examples.ts",
"docs:contributors": "esmo 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.25.2",
"@antfu/ni": "^0.17.2",
"@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.182",
"@types/node": "^18.0.4",
"@types/ws": "^8.5.3",
"@vitest/browser": "workspace:*",
"@vitest/ui": "workspace:*",
"bumpp": "^8.2.1",
"c8": "^7.12.0",
"cross-env": "^7.0.3",
"esbuild": "~0.14.53",
"eslint": "^8.21.0",
"esno": "^0.14.1",
"fast-glob": "^3.2.11",
"if-node-version": "^1.1.1",
"lint-staged": "^13.0.3",
"magic-string": "^0.26.2",
"node-fetch-native": "^0.1.4",
"npm-run-all": "^4.1.5",
"ohmyfetch": "^0.4.18",
"pathe": "^0.2.0",
"pnpm": "7.9.0",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-esbuild": "^4.9.1",
"rollup-plugin-license": "^2.8.1",
"simple-git-hooks": "^2.8.0",
"typescript": "^4.7.4",
"vite": "^3.0.4",
"vitest": "workspace:*",
"vue": "^3.2.37"
},
"pnpm": {
"overrides": {
"esbuild": "^0.14.47",
"vitest>vite": "^3.0.4",
"vitest": "workspace:*"
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --fix"
]
}
}