forked from vitest-dev/vitest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.78 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
{
"name": "@vitest/monorepo",
"type": "module",
"version": "0.12.4",
"private": true,
"packageManager": "pnpm@7.0.1",
"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",
"test:ci:no-threads": "cross-env CI=true pnpm -r --stream --filter !test-fails run test --allowOnly --no-threads",
"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.15.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.1",
"rimraf": "^3.0.2",
"rollup": "^2.72.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.8",
"vitepress": "^0.22.4",
"vitest": "workspace:*",
"vue": "^3.2.33"
},
"pnpm": {
"overrides": {
"vite": "^2.9.8",
"vitest": "workspace:*"
}
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --fix"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}