forked from umijs/dumi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
175 lines (175 loc) Β· 4.99 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "dumi",
"version": "2.1.21",
"description": "π Documentation Generator of React Component",
"keywords": [
"generator",
"umi",
"webpack",
"react",
"static site generator",
"jamstack",
"markdown",
"components",
"documentation"
],
"homepage": "https://d.umijs.org",
"bugs": {
"url": "https://github.com/umijs/dumi/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/umijs/dumi"
},
"license": "MIT",
"main": "dist/index.js",
"types": "index.d.ts",
"bin": "./bin/dumi.js",
"files": [
"bin",
"dist",
"compiled",
"theme-default",
"index.d.ts",
"plugin-utils.js",
"plugin-utils.d.ts"
],
"scripts": {
"build": "father build && npm run build:crates",
"build:crates": "cargo build --target wasm32-wasi -r --out-dir compiled/crates -Z unstable-options",
"build:deps": "node scripts/pre-bundle-worker.js && father prebundle",
"build:suites": "pnpm run --filter=\"./suites/**\" build",
"dev": "father dev",
"docs:build": "node ./bin/dumi.js build",
"docs:dev": "node ./bin/dumi.js dev",
"docs:sync": "node ./scripts/sync-from-umi.js",
"format": "prettier --cache --write .",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && npm run build && npm run build:suites && node ./bin/dumi.js setup && npm run docs:sync",
"prepublishOnly": "npm run build",
"test": "vitest",
"vercel:build": "npm run docs:build",
"vercel:install": "./scripts/vercel-install.sh"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --cache --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --cache --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --cache --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --cache --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/icons-svg": "^4.2.1",
"@makotot/ghostui": "^2.0.0",
"@stackblitz/sdk": "^1.8.1",
"@swc/core": "1.3.44",
"@types/hast": "^2.3.4",
"@types/mdast": "^3.0.10",
"@umijs/bundler-utils": "^4.0.64",
"@umijs/core": "^4.0.64",
"animated-scroll-to": "^2.3.0",
"classnames": "2.3.2",
"codesandbox": "^2.2.3",
"deepmerge": "^4.2.2",
"dumi-afx-deps": "^1.0.0-alpha.12",
"dumi-assets-types": "2.0.0-alpha.0",
"enhanced-resolve": "^5.10.0",
"estree-util-to-js": "^1.1.0",
"estree-util-visit": "^1.2.0",
"file-system-cache": "^2.0.0",
"github-slugger": "^1.4.0",
"hast-util-is-element": "^2.1.2",
"hast-util-raw": "^7.2.2",
"hast-util-to-estree": "^2.1.0",
"hast-util-to-string": "^2.0.0",
"heti": "^0.9.2",
"html-to-text": "^8.2.1",
"js-yaml": "^4.1.0",
"lodash.throttle": "^4.1.1",
"mdast-util-to-string": "^3.1.0",
"pluralize": "^8.0.0",
"prism-react-renderer": "^1.3.5",
"prism-themes": "^1.9.0",
"prismjs": "^1.29.0",
"raw-loader": "^4.0.2",
"rc-tabs": "^12.5.6",
"react-copy-to-clipboard": "^5.1.0",
"react-error-boundary": "^3.1.4",
"react-intl": "^6.1.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-remove-comments": "^5.0.0",
"rehype-stringify": "^9.0.3",
"remark-breaks": "^3.0.2",
"remark-directive": "^2.0.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"sass": "^1.55.0",
"sitemap": "^7.1.1",
"umi": "^4.0.64",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.0",
"unist-util-visit-parents": "^5.1.1",
"url": "^0.11.0",
"v8-compile-cache": "2.3.0",
"vfile": "^5.3.4"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/github-slugger": "^1.3.0",
"@types/highlight-words-core": "^1.2.1",
"@types/js-yaml": "^4.0.5",
"@types/lodash.throttle": "^4.1.7",
"@types/node": "^18.6.3",
"@types/pluralize": "^0.0.29",
"@types/react": "^18.0.16",
"@types/react-copy-to-clipboard": "^5.0.4",
"@umijs/lint": "^4.0.64",
"@umijs/plugins": "4.0.32",
"dumi-theme-mobile": "workspace:*",
"eslint": "^8.20.0",
"fast-glob": "^3.2.12",
"father": "^4.1.0",
"highlight-words-core": "^1.2.2",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18",
"react": "^18.2.0",
"stylelint": "^14.9.1",
"ts-node": "^10.0.0",
"typescript": "~4.7.4",
"vitest": "^0.24.3"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"authors": [
"Peach <[email protected]>"
]
}