forked from vuepress/ecosystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3 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
{
"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": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@lerna-lite/cli": "^3.10.1",
"@lerna-lite/publish": "^3.10.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/node": "^22.10.2",
"@types/webpack-env": "^1.18.5",
"@vitest/coverage-istanbul": "3.0.0-beta.2",
"conventional-changelog-cli": "^5.0.0",
"cpx2": "^8.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-vuepress": "^5.2.4",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
"postcss-html": "^1.7.0",
"prettier": "^3.4.2",
"prettier-config-vuepress": "^5.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-resolve-shebang": "^1.0.1",
"sass-embedded": "^1.83.0",
"sort-package-json": "^2.12.0",
"stylelint": "^16.12.0",
"stylelint-config-hope": "^7.0.4",
"stylelint-config-html": "^1.1.0",
"tsconfig-vuepress": "^5.2.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "~6.0.3",
"vitest": "3.0.0-beta.2",
"vuepress": "2.0.0-rc.19"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.19.0"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"artalk>marked": "^15.0.0"
}
},
"overrides": {
"@vitest/mocker>vite": "^6.0.0",
"tsx>esbuild": "^0.24.0"
}
}
}