-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
184 lines (184 loc) · 5.44 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
{
"name": "@jdcfe/yep-react",
"version": "1.0.10",
"description": "一套移动端的React组件库",
"main": "lib",
"module": "es",
"types": "es/index.d.ts",
"sideEffects": [
"dist/*",
"es/**/style/*",
"lib/**/style/*",
"*.scss"
],
"scripts": {
"add": "node scripts/add.js",
"compile": "yep-tools compile",
"tslint": "eslint src/",
"test": "jest",
"dev:site": "node scripts/start.js",
"dev:demo": "node scripts/demo-start.js",
"dev:demo:lazy": "cross-env LAZY=true node scripts/demo-start.js",
"watch-css-dist": "yep-tools watch",
"dist": "yep-tools dist",
"clean": "rimraf lib es dist build demo-link",
"prebuild-demo": "node scripts/generateDemo.js",
"build-demo": "webpack --config scripts/webpack.demo.config.pro.js",
"build-site": "webpack --config scripts/webpack.site.config.pro.js",
"pre-pub": "npm run clean && npm run dist && npm run compile",
"format": "prettier --write src/**/*.{tsx,md}",
"precommit": "lint-staged",
"predeploy": "npm run build-demo && npm run build-site",
"deploy": "gh-pages -d build",
"build-site:jd": "cross-env JD=true webpack --config scripts/webpack.site.config.pro.js",
"deploy:jd": "gh-pages -d build -r http://git.jd.com/JDC-FE/lrc-m.git -b master",
"predeploy:jd": "npm run build-demo && npm run build-site:jd",
"lint-staged": "node node_modules/tslint/bin/tslint src/**/*.tsx",
"tsc": "tsc",
"tag": "node scripts/github.js",
"pub": "scripts/publish.sh",
"pub:local": "scripts/local_publish.sh",
"preview": "serve -s build -p 9999"
},
"keywords": [
"react",
"UI",
"components",
"web"
],
"author": "jdf2e",
"repository": {
"type": "git",
"url": "git+https://github.com/jdf2e/yep-react.git"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/standalone": "^7.0.0",
"@jdcfe/yep-tools": "0.1.13",
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.10.3",
"@types/lodash": "^4.14.121",
"@types/raf": "^3.4.0",
"@types/react": "16.8.3",
"@types/react-dom": "16.8.2",
"@types/react-transition-group": "^2.0.16",
"@types/warning": "^3.0.0",
"address": "^1.0.3",
"autoprefixer": "^9.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.4",
"clean-webpack-plugin": "^0.1.19",
"codemirror": "^5.37.0",
"cross-env": "^5.2.0",
"css-loader": "^4.2.0",
"del": "^3.0.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.13.0",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.6.1",
"file-loader": "^2.0.0",
"gh-pages": "^3.2.3",
"glob-promise": "^3.4.0",
"history": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3",
"inquirer": "^5.2.0",
"jest": "^24.8.0",
"jsonp": "^0.2.1",
"lint-staged": "^7.1.2",
"marked": "^0.3.19",
"mini-css-extract-plugin": "0.11.3",
"node-sass": "^4.9.0",
"open-browser-webpack-plugin": "^0.0.5",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^4.3.0",
"postcss-pxtorem": "^5.1.1",
"prettier": "^1.12.1",
"prismjs": "^1.14.0",
"prop-types": "^15.6.1",
"qrcode.react": "^0.8.0",
"qs": "^6.5.2",
"react": "^16.8.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dev-utils": "^6.1.1",
"react-dom": "^16.8.0",
"react-helmet": "^5.2.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-test-renderer": "^16.2.0",
"regenerator-runtime": "^0.11.1",
"rellax": "^1.7.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"shelljs": "^0.8.4",
"style-loader": "^1.2.1",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "3.8.3",
"uglifyjs-webpack-plugin": "^1.2.5",
"val-loader": "^1.1.0",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14",
"yaml-front-matter": "^4.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@jdcfe/icons-react": "^1.1.0",
"@jdcfe/yep-gesture": "^0.0.3",
"@jdcfe/yep-popover": "^0.0.1",
"classnames": "^2.2.5",
"lodash": "^4.17.10",
"raf": "^3.4.0",
"react-transition-group": "^2.3.1",
"warning": "^4.0.3"
},
"browserslist": [
"iOS >= 7",
"Android >= 4.1"
],
"lint-staged": {
"src/**/*.tsx": [
"npm run lint-staged",
"prettier --write",
"git add"
],
"*.{js,jsx,json,md}": [
"prettier --write",
"git add"
]
},
"bugs": {
"url": "https://github.com/jdf2e/yep-react/issues"
},
"homepage": "https://jdf2e.github.io/yep-react/",
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
}
}