forked from vuepress/ecosystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.75 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.75 KB
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
{
"name": "@vuepress/ecosystem",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm build:tsc && pnpm build:copy && pnpm build:style",
"build:bundle": "pnpm -r --stream bundle",
"build:copy": "pnpm --parallel --stream copy",
"build:style": "pnpm --parallel --stream style",
"build:tsc": "tsc -b tsconfig.build.json",
"bundle": "pnpm build:bundle && pnpm build:copy && pnpm build:style",
"clean": "pnpm --parallel --stream clean",
"format": "prettier --write .",
"lint": "eslint . && prettier --check . && stylelint **/*.{css,html,scss,vue}",
"lint:fix": "eslint . --fix && prettier --check --write . && stylelint **/*.{css,html,scss,vue} --fix",
"prepare": "husky",
"release": "pnpm release:check && pnpm release:version && pnpm release:publish",
"release:check": "pnpm lint && pnpm clean && pnpm build && pnpm test",
"release:publish": "lerna publish --dist-tag next from-package --yes && tsx scripts/syncNpmmirror.ts",
"release:version": "lerna version",
"test": "pnpm test:unit && pnpm test:e2e",
"test:cov": "cross-env TZ=Etc/UTC vitest run --coverage ",
"test:e2e": "pnpm --filter ecosystem-e2e e2e:dev && pnpm --filter ecosystem-e2e e2e:build",
"test:unit": "cross-env TZ=Etc/UTC vitest run"
},
"nano-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.(cjs|js|ts|vue)": "eslint --fix",
"*.(s?css|html|vue)": "stylelint --fix",
"package.json": "sort-package-json"
},
"prettier": "prettier-config-vuepress",
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@lerna-lite/cli": "^4.9.0",
"@lerna-lite/publish": "^4.9.0",
"@rollup/plugin-commonjs": "^28.0.7",
"@rollup/plugin-node-resolve": "^16.0.3",
"@types/node": "^24.7.2",
"@types/webpack-env": "^1.18.8",
"@vitest/coverage-istanbul": "3.2.4",
"cpx2": "^8.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.37.0",
"eslint-config-vuepress": "^7.0.4",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
"postcss-html": "^1.8.0",
"prettier": "^3.6.2",
"prettier-config-vuepress": "^7.0.4",
"rimraf": "^6.0.1",
"rollup": "^4.52.4",
"rollup-plugin-dts": "^6.2.3",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-resolve-shebang": "^1.0.1",
"sass-embedded": "catalog:",
"sort-package-json": "^3.4.0",
"stylelint": "^16.25.0",
"stylelint-config-hope": "^10.0.0",
"stylelint-config-html": "^1.1.0",
"tsconfig-vuepress": "^7.0.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vite": "~7.1.10",
"vitest": "3.2.4",
"vuepress": "catalog:"
},
"packageManager": "pnpm@10.18.3",
"engines": {
"node": "^20.19.0 || >= 22.12.0"
}
}