/
package.json
123 lines (123 loc) · 4.09 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
{
"name": "@ucloud-fe/react-components",
"version": "0.3.1",
"title": "UCloud react components",
"description": "UCloud react components",
"keywords": [
"react",
"react-component",
"component",
"components",
"frontend",
"ucloud"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/UCloud-FE/react-components.git"
},
"bugs": {
"url": "https://github.com/UCloud-FE/react-components/issues"
},
"homepage": "https://ucloud-fe.github.io/react-components/",
"scripts": {
"start": "pm2 startOrReload start-pm2.json",
"start:withlog": "pm2 startOrReload start-pm2.json && pm2 logs react-components-styleguide",
"restart": "npm start",
"styleguide": "styleguidist server",
"cm": "git-cz",
"precommit": "lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS",
"build": "webpack --display-error-details",
"build:lib": "babel src/ -d lib/ --ignore '__demo__/*,__tests__/*'",
"build:dist": "export NODE_ENV='production' && npm run build -- --config webpack.dist.config.js",
"build:styleguide": "styleguidist build",
"build:gh-pages": "./scripts/gh-pages.sh",
"test": "jest",
"lint:es": "eslint . --ext .js,.jsx",
"lint:style": "stylelint './src/style/*.js' && stylelint './src/components/**/*.(jsx|js)'",
"deploy:gh-pages": "./scripts/gh-pages.sh -p",
"publish:patch": "standard-version --release-as patch",
"publish:minor": "standard-version --release-as minor",
"component:add": "./scripts/add_component.sh",
"font:update": "npm install @ucloud/ucloud-icons --registry=http://registry.npm.pre.ucloudadmin.com --no-save && cp -f node_modules/@ucloud/ucloud-icons/dist/css/icon.min.css static/style/icon.css && cp -rf node_modules/@ucloud/ucloud-icons/dist/fonts/* static/fonts"
},
"main": "dist/main.min.js",
"files": [
"README.md",
"dist/",
"lib/"
],
"dependencies": {
"classnames": "^2.2.5",
"color": "^3.0.0",
"create-react-context": "^0.2.3",
"lodash": "^4.17.5",
"moment": "^2.22.2",
"prop-types": "^15.6.1",
"rc-align": "^2.4.3",
"rc-calendar": "^9.6.2",
"rc-dialog": "^7.2.0",
"rc-form": "^2.2.0",
"rc-table": "^6.2.8",
"rc-tabs": "^9.2.5",
"rc-trigger": "^2.5.3",
"rce-slider": "^8.6.2",
"react-lifecycles-compat": "^3.0.3",
"react-transition-group": "^2.4.0",
"styled-components": "^3.4.0"
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-jest": "^22.4.3",
"babel-loader": "^7.1.4",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-styled-components": "^1.5.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-webpack-alias": "^2.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"commitizen": "^2.10.1",
"css-hot-loader": "^1.3.9",
"css-loader": "^0.28.11",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.6",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.3.0",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.11",
"husky": "^0.14.3",
"jest": "^22.4.3",
"jest-styled-components": "^5.0.1",
"lint-staged": "^7.0.4",
"mini-css-extract-plugin": "^0.4.0",
"moment-timezone": "^0.5.21",
"optimize-css-assets-webpack-plugin": "^4.0.2",
"prettier": "^1.12.0",
"raw-loader": "^0.5.1",
"react": "^15",
"react-dom": "^15",
"react-styleguidist": "^7.2.3",
"react-test-renderer": "^15",
"standard-version": "^4.4.0",
"style-loader": "^0.20.3",
"stylelint": "^9.4.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.2",
"url-loader": "^1.0.1",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}