forked from DouyinFE/semi-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
206 lines (206 loc) · 7.68 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"name": "semi",
"version": "0.0.1",
"description": "Semi monorepo main project",
"author": "",
"workspaces": [
"packages/**"
],
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"docsite": "npm run develop",
"pre-develop": "npm run scripts:changelog && node ./scripts/designToken.js ./static/designToken.json",
"develop": "npm run pre-develop && gatsby clean && lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && gatsby develop -H 0.0.0.0 --port=3666 --verbose",
"scripts:changelog": "node scripts/changelog.js",
"start": "npm run story",
"story": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && start-storybook -c ./.storybook/js/ -p 6006",
"story:ts": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && start-storybook -c ./.storybook/ts/ -p 6007",
"story:ani": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && start-storybook -c ./.storybook/animation/react -p 6008",
"lint": "npm run lint:script && npm run lint:style",
"lint:script": "eslint packages src --ext '.js,.jsx,.ts,.tsx'",
"lint:script-fix": "eslint packages src --ext '.js,.jsx,.ts,.tsx' --fix",
"lint:style": "stylelint '**/*.{scss,sass}'",
"lint:style-fix": "stylelint '**/*.{scss,sass}' --fix",
"test": "cross-env NODE_ENV=test ./node_modules/.bin/jest --silent",
"test:unit": "cross-env NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --notify",
"test:story": "cross-env NODE_ENV=test type=story ./node_modules/.bin/jest --silent --notify --maxWorkers=4",
"test:coverage": "cross-env TZ=Asia/Shanghai NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --coverage --notify",
"test:storyUpdate": "cross-env NODE_ENV=test type=story ./node_modules/.bin/jest --silent -u --notify --maxWorkers=4",
"build:lib": "lerna run build:lib",
"build:js": "lerna run build:js",
"build:css": "lerna run build:css",
"build-storybook": "build-storybook -c ./.storybook/js/",
"build:gatsbydoc": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && cross-env NODE_ENV=production node --max_old_space_size=16384 ./node_modules/gatsby/cli.js build --prefix-paths --verbose && rm -rf build && mv public build",
"build:icon": "lerna run build:icon --scope='@douyinfe/semi-{icons,illustrations}'"
},
"dependencies": {
"@douyinfe/semi-site-banner": "0.0.1",
"@douyinfe/semi-site-doc-style": "0.0.1",
"@douyinfe/semi-site-header": "0.0.1",
"@douyinfe/semi-site-markdown-blocks": "0.0.1",
"@mdx-js/react": "^1.6.22",
"@svgr/core": "^5.5.0",
"aos": "^2.3.4",
"camelcase": "^6.2.0",
"chroma-js": "^2.1.2",
"classnames": "^2.3.1",
"copy-text-to-clipboard": "^2.2.0",
"cross-env": "^5.2.1",
"css": "^2.2.4",
"date-fns": "^2.23.0",
"debug": "^4.3.2",
"gatsby": "^2.32.13",
"gatsby-plugin-i18n": "^1.0.1",
"gatsby-plugin-mdx": "^1.10.1",
"gatsby-plugin-react-helmet": "^3.10.0",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-plugin-svgr": "^3.0.0-beta.0",
"gatsby-source-filesystem": "^2.11.1",
"grapheme-splitter": "^1.0.4",
"immutability-helper": "^3.1.1",
"lodash-es": "^4.17.21",
"memoize-one": "^5.2.1",
"normalize.css": "^8.0.1",
"prop-types": "^15.7.2",
"qs": "^6.10.1",
"re-resizable": "^6.9.0",
"react": "^16.14.0",
"react-clipboard.js": "^2.0.16",
"react-dnd": "^9.5.1",
"react-dnd-html5-backend": "^9.5.1",
"react-dom": "^16.14.0",
"react-helmet": "^5.2.1",
"react-infinite-scroller": "^1.2.4",
"react-inlinesvg": "^1.2.0",
"react-intl": "^3.12.1",
"react-lazyload": "^3.2.0",
"react-resizable": "^1.11.1",
"react-scroll-parallax": "^2.4.0",
"react-sortable-hoc": "^1.11.0",
"react-virtualized": "^9.22.3",
"reset-css": "^5.0.1",
"sass": "1.32.13",
"typeface-inconsolata": "0.0.72",
"typeface-inter": "^3.18.1",
"unist-util-remove": "^1.0.3",
"unist-util-visit": "^2.0.3",
"wcag-color": "^1.1.1"
},
"devDependencies": {
"@actions/core": "^1.6.0",
"@actions/github": "^5.0.0",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/eslint-plugin": "^7.14.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@babel/types": "^7.15.4",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^7.6.0",
"@octokit/rest": "^18.12.0",
"@shopify/jest-dom-mocks": "^2.11.7",
"@storybook/addon-actions": "^6.3.7",
"@storybook/addon-knobs": "^6.3.1",
"@storybook/builder-webpack5": "^6.4.0-alpha.29",
"@storybook/cli": "^5.3.21",
"@storybook/manager-webpack5": "^6.4.0-alpha.29",
"@storybook/react": "^6.3.7",
"@svgr/webpack": "^5.5.0",
"@types/classnames": "^2.3.0",
"@types/enhanced-resolve": "^3.0.7",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^23.3.14",
"@types/lodash": "^4.14.172",
"@types/lodash-es": "^4.17.4",
"@types/node": "^14.17.9",
"@types/react": "^16.14.13",
"@types/react-dom": "^16.9.14",
"@types/react-resizable": "^1.7.3",
"@types/svgo": "^2.3.1",
"@types/webpack": "^4.41.30",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"awesome-typescript-loader": "^5.2.1",
"axios": "^0.21.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-require-context": "^0.1.1",
"babel-runtime": "^6.26.0",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"crypto": "^1.0.1",
"css-loader": "^3.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"esbuild": "^0.12.19",
"esbuild-loader": "^2.14.0",
"eslint": "^7.32.0",
"eslint-config-jest-enzyme": "^7.1.2",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.7",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"jest": "^24.9.0",
"jest-date-mock": "^1.0.8",
"jest-enzyme": "^7.1.2",
"jest-mock-random": "^1.1.1",
"jsdom": "^15.2.1",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"marked": "^2.1.3",
"mini-css-extract-plugin": "^0.12.0",
"null-loader": "^3.0.0",
"postcss-loader": "^2.1.6",
"prettier": "^1.19.1",
"progress-bar-webpack-plugin": "^1.12.1",
"react-dnd-cjs": "^9.5.1",
"react-storybook-addon-props-combinations": "^1.1.0",
"rimraf": "^2.7.1",
"sass-loader": "^7.3.1",
"semver": "^7.3.5",
"sha1": "^1.1.1",
"sinon": "^6.3.5",
"storybook-addon-turbo-build": "^1.0.0-beta.1",
"style-loader": "^0.23.1",
"stylelint": "^13.13.1",
"svgo": "^2.7.0",
"terser-webpack-plugin": "^4.2.3",
"ts-loader": "^5.4.5",
"typescript": "^4.4.3",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpackbar": "^5.0.0-3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint .commitlintrc.js -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --ext '.js,.jsx,.ts,.tsx'"
],
"packages/**/*.{js,jsx,ts,tsx}": [
"eslint --ext '.js,.jsx,.ts,.tsx'"
],
"*.{scss,css}": [
"stylelint"
]
},
"license": "MIT"
}