Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.49 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 3.49 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
75
76
77
78
79
80
81
82
83
{
"name": "@142vip/core-x",
"type": "module",
"version": "0.0.1-alpha.42",
"private": true,
"packageManager": "pnpm@9.6.0",
"workspaces": [
"apps/*",
"packages/*"
],
"description": "基于自身技术栈在进行工程化实践中封装的工具包、通用模块",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/142vip/core-x"
},
"engines": {
"node": ">=18.x",
"pnpm": "9"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "fairy_vip@2925.com",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
"postinstall": "simple-git-hooks && pnpm build:packages",
"clean": "npx fa clean --dist --vite --turbo --coverage --deps --all --ignore-tips",
"clean:cache": "npx fa clean --vite --dist --turbo --coverage --all --ignore-tips",
"clean:dist": "npx fa clean --dist --ignore-tips --all",
"clean:hooks": "npx fa clean --git-hooks --all --ignore-tips",
"dev": "npx vitepress dev --port 8080 --host --force --strictPort --open",
"dev:proxy": "NEED_PROXY=true npx vitepress dev --port 8080 --host --force --strictPort --open",
"build:apps": "npx turbo run build --filter '*-demo' --color --only",
"build:packages": "npx turbo run build --filter @142vip/* --color --only",
"build:docs": "npx vitepress build --minify && pnpm typedoc:api",
"build:docs-proxy": "NEED_PROXY=true npx vitepress build && pnpm typedoc:api",
"build": "pnpm build:packages && pnpm build:apps && pnpm build:docs && pnpm build:docs-proxy",
"preview:docs": "pnpm build:docs && npx vitepress preview --port 8081",
"preview:docs-proxy": "pnpm build:docs-proxy && npx vitepress preview --port 8082 --base '/core-x'",
"lint": "npx fa lint",
"lint:fix": "npx fa lint --fix",
"check:publish": "pnpm publish -r --filter './packages/**' --dry-run --json --no-git-checks",
"check:release": "npx fa release --check-release --vip -F './apps/*' -F './packages/*' ",
"check:esm": "pnpx are-we-esm",
"check:commit": "npx node --loader ts-node/esm --no-warnings scripts/core/verify-commit.ts",
"check": "pnpm check:release && pnpm check:publish",
"release": "npx fa release --vip -F './apps/*' -F './packages/*' --check-branch next --check-branch main ",
"test": "npx turbo run test --color --only",
"test:coverage": "npx jest --coverage",
"typedoc": "pnpm typedoc:md && pnpm typedoc:wiki && pnpm lint:fix && pnpm build",
"typedoc:api": "npx typedoc --options .typedoc/api.config.js",
"typedoc:md": "npx typedoc --options .typedoc/md.config.js",
"typedoc:wiki": "npx typedoc --options .typedoc/wiki.config.js",
"sync:pkg": "npx fa sync --vip"
},
"devDependencies": {
"@142vip/changelog": "workspace:*",
"@142vip/commit-linter": "workspace:*",
"@142vip/eslint-config": "workspace:*",
"@142vip/fairy-cli": "workspace:*",
"@142vip/open-source": "workspace:*",
"@142vip/release-version": "workspace:*",
"@142vip/utils": "workspace:*",
"@142vip/vitepress": "workspace:*",
"@jest/globals": "30.1.2",
"@types/jest": "29.5.14",
"@types/node": "22.10.7",
"baseline-browser-mapping": "2.11.1",
"jest": "29.7.0",
"only-allow": "1.2.1",
"simple-git-hooks": "2.13.1",
"ts-jest": "29.4.4",
"typescript": "5.9.2",
"unbuild": "3.5.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint:fix",
"commit-msg": "pnpm check:commit"
}
}