-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
174 lines (174 loc) · 5.28 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
{
"name": "cp-design",
"version": "0.3.4",
"description": "A configurable Mobile UI by React Hooks",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"test": "jest --config jest.config.js --verbose=false",
"build": "cross-env NODE_ENV=production gulp && npm run build:es && npm run build:lib",
"build:es": "tsc -d --emitDeclarationOnly --declarationDir es",
"build:lib": "tsc -d --emitDeclarationOnly --declarationDir lib",
"lint:style": "stylelint \"src/**/*.scss\" --syntax scss",
"lint:style-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix",
"dev": "cross-env NODE_ENV=dev start-storybook -p 9001 -c .storybook",
"build:story": "cross-env NODE_ENV=dev build-storybook -c .storybook -o docs",
"deploy-storybook": "storybook-to-ghpages",
"prepublishOnly": "npm run build",
"commit": "git-cz && npm run genlog",
"genlog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"src/components/**/*.tsx": [
"prettier --write",
"tslint --config tslint.json --fix",
"git add"
],
"src/**/*.scss": [
"stylelint --syntax scss --fix",
"git add"
]
},
"files": [
"dist",
"lib",
"es"
],
"repository": {
"type": "git",
"url": "git+https://github.com/10086XIAOZHANG/CP-DESIGN.git"
},
"keywords": [
"cp",
"design",
"react-component",
"framework",
"mobile",
"UI",
"Components",
"Component",
"hooks",
"react"
],
"author": "10086XIAOZHANG",
"license": "MIT",
"bugs": {
"url": "https://github.com/10086XIAOZHANG/CP-DESIGN/issues"
},
"homepage": "https://github.com/10086XIAOZHANG/CP-DESIGN#readme",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/plugin-transform-typescript": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@storybook/addon-actions": "^5.3.15",
"@storybook/addon-backgrounds": "^5.3.15",
"@storybook/addon-info": "^5.3.15",
"@storybook/addon-knobs": "^5.3.14",
"@storybook/addon-links": "^5.3.15",
"@storybook/addon-notes": "^5.3.15",
"@storybook/addon-options": "^5.3.14",
"@storybook/addon-storyshots": "^5.3.18",
"@storybook/addon-storysource": "^5.3.15",
"@storybook/addon-viewport": "^5.3.17",
"@storybook/addons": "^5.3.15",
"@storybook/components": "^5.3.14",
"@storybook/react": "^5.3.14",
"@storybook/storybook-deployer": "^2.8.3",
"@storybook/theming": "^5.3.14",
"@types/classnames": "^2.2.10",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-transition-group": "^4.2.4",
"@types/storybook-readme": "^5.0.4",
"@types/vfile-message": "^2.0.0",
"@types/warning": "^3.0.0",
"awesome-typescript-loader": "^5.2.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.26.0",
"commitizen": "^4.1.2",
"commitlint": "^8.3.5",
"cross-env": "^7.0.2",
"css-loader": "^3.4.2",
"cz-conventional-changelog": "^3.2.0",
"del": "^5.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"file-loader": "^6.0.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.2.0",
"gulp-file-loader": "^2.1.3",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.0.2",
"gulp-typescript": "^5.0.0",
"husky": "^4.2.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.3.0",
"less": "^3.11.1",
"lint-staged": "^10.0.8",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-test-renderer": "^16.13.1",
"run-sequence": "^2.2.1",
"sass-loader": "^7.0.3",
"storybook-readme": "^5.0.8",
"style-loader": "^1.1.3",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.14.2",
"ts-jest": "^25.2.1",
"ts-loader": "^6.2.1",
"tslint": "^6.1.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3",
"webpack": "^4.42.0"
},
"dependencies": {
"better-scroll": "^1.15.2",
"classnames": "^2.2.6",
"rc-checkbox": "^2.1.8",
"rc-resize-observer": "^0.1.3",
"rc-slider": "^9.2.4",
"rc-util": "^4.20.1",
"react-hook-form": "^5.1.3",
"react-transition-group": "^4.3.0",
"rmc-notification": "^1.0.0",
"rmc-tooltip": "^1.0.1",
"warning": "^4.0.3"
},
"peerDependencies": {
"node-sass": "^4.13.1",
"react": ">=16.13.0",
"react-dom": ">=16.13.0"
}
}