-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 4.24 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "dumi-monorepo-starter",
"version": "1.0.0",
"description": "dumi monorepo 快速启动模板",
"main": "index.js",
"private": true,
"packageManager": "pnpm@7.1.0",
"workspaces": [
"packages/*",
"internal/*"
],
"scripts": {
"project:init": "tsx scripts/init.ts",
"play:dev": "pnpm -C internal/playground start",
"build:rollup": "tsx scripts/build.ts -t",
"eject": "react-scripts eject",
"check:lint": "eslint \"**/*.{ts,tsx}\"",
"check:ts": "tsc -p tsconfig.noEmit.json --noEmit",
"check:ts:lint": "npm run check:ts && npm run check:lint",
"check:deps": "ncu",
"check:css": "stylelint \"**/*.{css,scss}\"",
"check:all": "npm run check:ts:lint && npm run check:css",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"prepare": "husky install && dumi setup",
"docs:dev": "dumi dev",
"docs:build": "dumi build",
"docs:preview": "serve ./docs-dist -p 8080",
"docs:deploy": "gh-pages -d docs-dist",
"doctor": "father doctor",
"prepublishOnly": "father doctor && npm run build",
"new:component": "tsx scripts/new-component.ts",
"release": "tsx scripts/release.ts",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less,scss}": [
"prettier --write",
"stylelint --fix"
],
"*.{json,html,yaml}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"npm run check:ts:lint"
]
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@mxssfd/dumi-theme-antd-style": "^0.27.5-beta.9",
"@rollup/plugin-json": "^6.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@tool-pack/basic": "^0.7.0",
"@tool-pack/bom": "0.0.1-beta.0",
"@tool-pack/dom": "^0.2.1",
"@tool-pack/types": "^0.2.0",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.22",
"@types/react": "^18.2.60",
"@types/react-dom": "^18.2.19",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@umijs/lint": "^4.1.2",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"chalk": "^5.3.0",
"conventional-changelog-cli": "^4.1.0",
"cssnano": "^6.0.5",
"dumi": "^2.2.17",
"enquirer": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-prettier": "^5.1.3",
"esno": "^4.0.0",
"execa": "^8.0.1",
"father": "^4.4.0",
"fs-extra": "^11.2.0",
"gh-pages": "^6.1.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.14.15",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"postcss-merge-rules-plus": "^2.0.0",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-packagejson": "^2.4.12",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"rollup": "^4.12.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript2": "^0.36.0",
"rxjs": "^7.8.1",
"sass": "^1.71.1",
"serve": "^14.2.1",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.1.0",
"tsc-alias": "^1.8.8",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"yalc": "1.0.0-pre.53"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/mengxinssfd/dumi-monorepo-starter.git"
},
"keywords": [
"dumi",
"template"
],
"author": "DYH",
"license": "MIT",
"bugs": {
"url": "https://github.com/mengxinssfd/dumi-monorepo-starter/issues"
},
"homepage": "https://github.com/mengxinssfd/dumi-monorepo-starter#readme"
}