-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
247 lines (247 loc) · 7.62 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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"name": "deer-ui",
"version": "1.1.10",
"description": "React.js UI components for PC Web",
"repository": "https://github.com/zhangboyang123/deer-ui",
"homepage": "https://zhangboyang123.github.io/",
"main": "dist/index.js",
"module": "es/index.js",
"scripts": {
"dev": "webpack-dev-server --config scripts/webpack.dev.config.js --progress",
"clean": "rimraf dist lib es",
"styleguidist": "styleguidist server",
"styleguidist:build": "styleguidist build",
"stylelint": "stylelint 'components/**/*.less'",
"stylelint:fix": "stylelint 'components/**/*.less' --syntax less --fix",
"test": "jest --config jest.config.js",
"coverage": "npm run test --coverage",
"ci:coverage": "npm run coverage && cat ./coverage/lcov.info",
"eslint": "eslint ./components",
"eslint:fix": "eslint ./components --fix",
"lint": "prettier --write \"components/**/*.js\" && npm run eslint:fix && npm run stylelint:fix",
"docz:dev": "docz dev",
"docz:build": "docz build",
"deploy": "./scripts/deploy.sh",
"pub:docs": "npm run build:docs && npm run pubdocs && storybook-to-ghpages --existing-output-dir=docs/build",
"build:docs": "rimraf docs/build && build-storybook -c .storybook -o docs/build",
"storybook": "start-storybook -p 8080 -c .storybook",
"build:types": "rimraf types && tsc --outDir types -d --emitDeclarationOnly",
"build:css-webpack": "webpack --config scripts/webpack.css.config.js --progress",
"build:css": "cd scripts && gulp",
"build:umd": "webpack --config scripts/webpack.prod.config.js --progress",
"build:es": "babel components -d es --ignore **/test",
"build:lib": "cross-env OUTPUT_MODULE=commonjs babel components -d lib --ignore **/test",
"build": "npm run clean && npm run build:umd && npm run build:es && npm run build:lib && npm run build:css",
"commit": "git-cz",
"pubdocs": "node ./scripts/pubdocs.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r",
"ver:major": "npm version major",
"ver:minor": "npm version minor",
"ver:patch": "npm version patch",
"standard:major": "standard-version -r major",
"standard:minor": "standard-version -r minor",
"standard:patch": "standard-version -r patch",
"pub:prod": "npm run standard:patch && npm run build && npm publish --registry https://registry.npmjs.org && git push",
"pub:major": "npm run standard:major && npm run build && npm publish --registry https://registry.npmjs.org && git push",
"pub:minor": "npm run standard:minor && npm run build && npm publish --registry https://registry.npmjs.org && git push",
"release": "standard-version"
},
"files": [
"lib",
"es",
"dist",
"LICENSE"
],
"browserslist": [
"last 2 versions",
"Android >= 4.0",
"Firefox ESR",
"not ie < 9"
],
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"lint-staged": {
"*.{js.jsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"components/**/*.less": [
"stylelint --syntax less --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"commitizen": {
"path": "cz-conventional-changelog"
},
"sideEffects": [
"dist/*",
"lib/*",
"es/*",
"*.scss"
],
"author": "boyang",
"storybook-deployer": {
"gitUsername": "[email protected]",
"gitEmail": "[email protected]",
"commitMessage": "docs: publish docs"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"prepare": [
{
"path": "@semantic-release/changelog"
},
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
]
]
},
"license": "MIT",
"keywords": [
"deer",
"deer-ui",
"react",
"tool",
"react-component",
"component",
"components",
"ui",
"web",
"pc-component",
"framework",
"frontend"
],
"tags": [
"deer",
"deer-ui",
"react",
"react-ui",
"component",
"components",
"javascript",
"es6",
"css3"
],
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.0",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-decorators": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-modules-commonjs": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@commitlint/config-angular": "^8.2.0",
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^8.0.0",
"@storybook/addon-actions": "^5.2.5",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-info": "^5.2.5",
"@storybook/addon-links": "^5.2.5",
"@storybook/addon-notes": "^5.2.5",
"@storybook/addon-options": "^5.2.5",
"@storybook/addon-storysource": "^5.2.5",
"@storybook/addon-viewport": "^5.2.5",
"@storybook/react": "^5.2.5",
"@storybook/storybook-deployer": "^2.8.1",
"ali-oss": "^6.5.1",
"autoprefixer": "^9.7.1",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.4.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-runtime": "^6.26.0",
"cache-loader": "^4.1.0",
"child_process": "^1.0.2",
"clean-webpack-plugin": "^3.0.0",
"commitlint": "^8.2.0",
"conventional-changelog-cli": "^2.0.31",
"copy-webpack-plugin": "^5.0.4",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"cz-conventional-changelog": "^2.1.0",
"docz": "^2.0.0-rc.70",
"docz-plugin-css": "^0.11.0",
"docz-theme-default": "^1.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.6.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-react": "^7.7.0",
"fs": "0.0.1-security",
"git-cz": "^3.3.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-concat": "^2.6.1",
"gulp-cssnano": "^2.1.3",
"gulp-filesize": "0.0.6",
"gulp-less": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^2.6.5",
"highlight": "^0.2.4",
"highlight.js": "^9.16.2",
"hoist-non-react-statics": "^3.3.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.9",
"jest": "^25.4.0",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"lint-staged": "^9.4.2",
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "^4.13.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"power-assert": "^1.6.1",
"pre-commit": "^1.2.2",
"prettier": "^1.18.2",
"progress-bar-webpack-plugin": "^1.12.1",
"react-lowlight": "^2.0.0",
"react-markdown": "^4.2.2",
"react-styleguidist": "^10.2.0",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"sass-resources-loader": "^2.0.1",
"standard-version": "^7.0.1",
"style-loader": "^1.0.0",
"stylelint": "^11.1.1",
"stylelint-config-standard": "^19.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"dependencies": {
"classnames": "^2.2.6",
"core-js": "^2.6.10",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-icons": "^3.8.0",
"scroll-into-view-if-needed": "^2.2.24"
}
}