package.json
4.83 KB
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
{
"name": "xianyu-ufo-app-web",
"version": "1.1.0-beta-1",
"private": true,
"description": "Xianyu Project With Express",
"repository": {
"type": "git",
"url": "http://git.yoho.cn/fe/xianyu-ufo-app-web.git"
},
"scripts": {
"start": "NODE_ENV=production node app.js",
"test": "NODE_ENV=test3 node app.js",
"test:unit": "jest",
"test:coverage": "jest --coverage",
"dev": "node app-dev.js",
"client": "cross-env NODE_ENV=production webpack --config ./build/webpack.client.conf.js",
"server": "cross-env NODE_ENV=production webpack --config ./build/webpack.server.conf.js",
"build": "cross-env NODE_ENV=production node ./build/build.js",
"build:node": "node ./build/node-build.js",
"lint-js": "eslint -c .eslintrc --cache --fix .",
"lint-css": "stylelint --syntax scss --config .stylelintrc public/scss/**/*.css",
"lint-vue": "eslint -c .eslintrc --cache --fix public/vue/**/*.vue || stylelint --syntax scss --extract --config .stylelintrc public/vue/**/*.vue"
},
"license": "MIT",
"transformModules": {
"cube-ui": {
"transform": "cube-ui/src/modules/${member}",
"kebabCase": true
},
"lodash": {
"transform": "lodash/${member}",
"camelCase": true
}
},
"dependencies": {
"@babel/runtime-corejs2": "^7.2.0",
"axios": "^0.18.0",
"body-parser": "^1.18.3",
"client-sessions": "^0.8.0",
"clipboard": "^2.0.4",
"connect-multiparty": "^2.2.0",
"connect-redis": "^3.4.0",
"cookie-parser": "^1.4.3",
"crypto-js": "^3.1.9-1",
"cube-ui": "^1.12.31",
"express": "^4.16.4",
"express-session": "^1.15.6",
"fastclick": "^1.0.6",
"handlebars": "^4.1.1",
"jest": "^24.8.0",
"lodash": "^4.17.11",
"lottie-web": "^5.4.2",
"moment": "^2.24.0",
"nodemon": "^1.19.1",
"passport": "^0.4.0",
"passport-oauth": "^1.0.0",
"qiniu": "^7.2.1",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"serve-favicon": "^2.5.0",
"source-map": "^0.7.3",
"topsdk": "=1.0.13",
"util": "^0.12.1",
"uuid": "^3.3.2",
"video.js": "^7.5.5",
"vue": "^2.6.10",
"vue-awesome-swiper": "^3.1.3",
"vue-infinite-scroll": "^2.0.2",
"vue-lazyload": "^1.2.6",
"vue-loader": "^15.7.1",
"vue-router": "^3.0.2",
"vue-server-renderer": "^2.6.10",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"vue-touch": "^1.1.0",
"vue-virtual-scroll-list": "^1.2.8",
"vuex": "^3.0.1",
"winston": "^3.1.0",
"yoho-activity-sdk": "^1.1.3",
"yoho-cookie": "^1.2.0",
"yoho-express-session": "^2.0.0",
"yoho-md5": "^2.1.0",
"yoho-node-lib": "=0.6.41",
"yoho-qs": "^1.0.1",
"yoho-store": "^1.3.20",
"yoho-zookeeper": "^1.0.11"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-async-to-generator": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.2.0",
"autoprefixer": "^9.4.2",
"babel-eslint": "8.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-import": "^1.11.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-imports": "^1.5.1",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"cross-env": "^6.0.3",
"css-loader": "^2.0.0",
"eslint": "^5.10.0",
"eslint-config-yoho": "^1.1.0",
"eslint-plugin-html": "^5.0.0",
"eslint-plugin-vue": "^5.0.0",
"file-loader": "^2.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.0",
"ignore-loader": "^0.1.2",
"memory-fs": "^0.4.1",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"postcss-calc": "^7.0.1",
"postcss-loader": "^3.0.0",
"postcss-pxtorem": "^4.0.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"shelljs": "^0.8.3",
"style-loader": "^0.23.1",
"stylelint": "^9.9.0",
"stylelint-config-yoho": "^1.4.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"terser-webpack-plugin": "^2.1.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^1.1.2",
"vconsole": "^3.3.4",
"webpack": "4.16.5",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.4.0",
"webpack-dev-server": "^3.1.10",
"webpack-hot-middleware": "^2.24.3",
"webpack-merge": "^4.1.5",
"webpack-node-externals": "^1.7.2",
"webpack-post-compile-plugin": "^1.0.0",
"webpack-transform-modules-plugin": "^0.4.3"
},
"browserslist": [
"> 1%",
"not ie <= 11",
"Android >= 4.0",
"iOS >= 8"
]
}