forked from XiaoMi/hiui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.15 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
{
"name": "hiui",
"private": true,
"workspaces": {
"packages": [
"packages/ui/*",
"packages/utils/*",
"packages/hooks/*",
"packages/core/*",
"packages/icons",
"packages/patches/*",
"scripts/hi-docs"
]
},
"scripts": {
"lerna": "lerna",
"clean": "lerna clean",
"postinstall": "patch-package",
"bootstrap": "lerna bootstrap",
"prepublish:pkg": "yarn run build",
"publish:pkg": "lerna publish",
"create:pkg": "hygen create",
"postcreate:pkg": "yarn bootstrap",
"build": "turbo run build",
"storybook": "start-storybook --no-manager-cache false -p 6006",
"build-storybook": "build-storybook",
"fix": "standard --fix && stylelint --config .stylelintrc 'components/**/*.scss' --fix",
"eslint": "eslint --fix ./packages/**/*.tsx",
"precommit": "lint-staged",
"test": "jest",
"cs": "changeset",
"v": "changeset version",
"publish": "changeset publish --registry=https://registry.npmjs.org/",
"deploy": "gh-pages -t -d dist-github --git \"$(which git)\"",
"pregenerate-docs": "yarn turbo run auto-generate --filter @hi-ui/icons",
"generate-docs": "yarn turbo run generate-docs --filter @hi-ui/hi-docs"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/preset-typescript": "~7.12.7",
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0",
"@hi-ui/hi-build": "4.1.2",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/react": "^6.3.12",
"@typescript-eslint/eslint-plugin": "~4.10.0",
"@typescript-eslint/parser": "^4.16.1",
"autoprefixer": "^8.5.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^22.4.3",
"concurrently": "^6.1.0",
"copyfiles": "^2.4.1",
"lerna": "^4.0.0",
"rimraf": "^3.0.2",
"rollup-plugin-postcss-inject-to-css": "^1.0.2",
"rucksack-css": "^1.0.2",
"sass": "^1.67.0",
"sass-loader": "10.2.1",
"storybook-addon-deps": "^2.2.0",
"storybook-addon-react-live-edit": "^2.0.4",
"style-loader": "^2.0.0",
"styled-components": "^5.2.1",
"ts-jest": "^27.0.4",
"turbo": "^1.5.6",
"typescript": "^4.3.5"
},
"dependencies": {
"@babel/plugin-external-helpers": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.13.15",
"@storybook/preset-scss": "^1.0.3",
"cross-env": "^7.0.3",
"gh-pages": "^4.0.0",
"hygen": "^6.1.0",
"jest": "^27.0.6",
"lodash": "^4.17.21",
"nodemon": "^2.0.12",
"patch-package": "^6.4.7",
"pinyin-pro": "^3.15.1",
"postinstall-postinstall": "^2.1.0",
"rc-virtual-list": "^3.4.8",
"react": "^17.0.1",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^17.0.1",
"react-fast-marquee": "^1.3.1",
"react-live": "^2.2.3",
"react-text-loop-next": "^0.0.3",
"storybook-addon-performance": "^0.16.1"
},
"optionalDependencies": {
"@commitlint/cli": "~11.0.0",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.182",
"@types/node": "~14.14.10",
"@types/qs": "~6.9.5",
"@types/react-dom": "~16.9.10",
"@types/react-redux": "~7.1.11",
"@types/react-router-dom": "~4.3.1",
"@types/webpack-env": "~1.16.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "~16.0.1",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "~6.2.3",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-react": "~7.21.5",
"eslint-plugin-react-hooks": "~4.2.0",
"eslint-plugin-standard": "~4.0.2",
"husky": "~4.3.0",
"lint-staged": "~10.5.1",
"prettier": "~2.1.2",
"semver": "~7.3.2",
"stylelint": "~13.7.2",
"stylelint-config-recommended-scss": "~4.2.0",
"stylelint-config-standard": "~20.0.0",
"stylelint-scss": "~3.18.0"
},
"engines": {
"node": ">=12.22.1 <=14.21.3"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.scss": [
"stylelint --config .stylelintrc --fix",
"git add"
]
}
}