package.json
4.52 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
{
"name": "ufo-app-web",
"version": "1.1.6",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
"type": "git",
"url": "http://git.yoho.cn/fe/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": "NODE_ENV=production webpack --config ./build/webpack.client.conf.js",
"server": "NODE_ENV=production webpack --config ./build/webpack.server.conf.js",
"build": "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}",
"kebabCase": 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.6",
"express": "^4.16.4",
"express-session": "^1.15.6",
"fastclick": "^1.0.6",
"handlebars": "^4.1.1",
"jest": "^24.8.0",
"knex": "^0.16.3",
"lodash": "^4.17.11",
"lottie-web": "^5.4.2",
"mysql": "^2.16.0",
"nodemon": "^1.19.1",
"qiniu": "^7.2.1",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"serve-favicon": "^2.5.0",
"source-map": "^0.7.3",
"uuid": "^3.3.2",
"vue": "^2.5.20",
"vue-awesome-swiper": "^3.1.3",
"vue-infinite-scroll": "^2.0.2",
"vue-lazyload": "^1.2.6",
"vue-loader": "^15.4.2",
"vue-router": "^3.0.2",
"vue-server-renderer": "^2.5.20",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.5.20",
"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",
"vconsole": "^3.3.4",
"video.js": "^7.5.5"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.2.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",
"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",
"uglifyjs-webpack-plugin": "^2.0.1",
"url-loader": "^1.1.2",
"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"
]
}