package.json
4.62 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
153
154
155
156
157
158
{
"name": "yohobuywap-node",
"version": "6.5.41",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
"type": "git",
"url": "http://git.dev.yoho.cn/web/yohobuywap-node.git"
},
"scripts": {
"start": "NODE_ENV=\"production\" node app.js",
"dev": "nodemon -e js,hbs -i public/ app.js",
"static": "node ./public/build/dev-server.js",
"build:sw": "webpack --config public/build/webpack.sw.config.js",
"build:dll": "webpack --config ./public/build/webpack.dll.indexcss.config.js",
"build": "webpack --config ./public/build/webpack.dll.indexcss.config.js && webpack --config ./public/build/webpack.prod.config.js",
"debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
"lint-css": "stylelint -s scss --cache --custom-formatter ./node_modules/stylelint-formatter-table ./**/*.{scss,css,vue}",
"lint-js": "eslint --ext .js,.vue --cache --format table .",
"lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,vue}": [
"npm run lint-js -- --fix",
"git add"
],
"*.{scss,css,vue}": [
"npm run lint-css -- --fix",
"git add"
]
},
"config": {
"lintJs": [
{
"title": "JS",
"path": [
"."
]
}
],
"lintCss": [
{
"title": "CSS",
"path": [
"public/scss/**/*.css",
"public/**/*.vue"
]
}
]
},
"license": "MIT",
"dependencies": {
"bluebird": "^3.4.7",
"body-parser": "^1.18.0",
"cheerio": "^0.22.0",
"client-sessions": "^0.8.0",
"compression": "^1.7.0",
"connect-multiparty": "^2.0.0",
"connect-redis": "^3.3.3",
"cookie-parser": "^1.4.3",
"cssnano": "^3.10.0",
"express": "^4.15.4",
"feed": "^1.1.0",
"geetest": "^4.1.2",
"lodash": "^4.17.4",
"memory-cache": "^0.2.0",
"moment": "^2.20.1",
"oneapm": "^1.2.20",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"passport-qq": "^0.1.0",
"passport-sina": "^0.1.0",
"passport-strategy": "^1.0.0",
"passport-weixin": "^0.2.0",
"path-to-regexp": "^2.1.0",
"redis": "^2.8.0",
"request": "^2.81.0",
"request-promise": "^4.2.1",
"semver": "^5.4.1",
"sitemap": "^1.13.0",
"urlencode": "^1.1.0",
"uuid": "^3.1.0",
"xml2js": "^0.4.19",
"yoho-express-session": "^2.0.0",
"yoho-md5": "^2.0.0",
"yoho-node-lib": "=0.6.10",
"yoho-zookeeper": "^1.0.9"
},
"devDependencies": {
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
"autoprefixer": "^7.2.4",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-runtime": "^6.26.0",
"css-loader": "^0.28.8",
"echarts": "^3.7.1",
"eslint": "^4.15.0",
"eslint-config-yoho": "^1.0.9",
"eslint-plugin-html": "^4.0.1",
"extract-text-webpack-plugin": "^3.0.0",
"friendly-errors-webpack-plugin": "^1.6.1",
"handlebars-loader": "^1.6.0",
"happypack": "^4.0.0",
"husky": "^0.14.3",
"intersection-observer": "^0.5.0",
"jquery-lazyload": "^1.9.7",
"lint-staged": "^7.0.4",
"lozad": "^1.0.9",
"nodemon": "^1.14.10",
"postcss": "^6.0.16",
"postcss-assets": "^5.0.0",
"postcss-calc": "^6.0.0",
"postcss-center": "^1.0.0",
"postcss-clearfix": "^2.0.1",
"postcss-crip": "^2.0.1",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.10",
"postcss-position": "^1.0.0",
"postcss-pxtorem": "^4.0.1",
"postcss-scss": "^1.0.3",
"postcss-short": "^4.1.0",
"postcss-sprites": "^4.2.1",
"postcss-use": "^2.3.0",
"precss": "^2.0.0",
"shelljs": "^0.7.8",
"store": "^2.0.12",
"style-loader": "^0.19.1",
"stylelint": "^8.1.1",
"stylelint-config-yoho": "^1.2.12",
"stylelint-formatter-table": "^1.0.2",
"vue": "^2.5.13",
"vue-infinite-scroll": "^2.0.1",
"vue-lazyload": "^1.1.3",
"vue-loader": "^13.7.0",
"vue-template-compiler": "^2.5.13",
"webpack": "^3.5.6",
"webpack-dev-middleware": "^2.0.4",
"webpack-dev-server": "^2.10.1",
"webpack-hot-middleware": "^2.19.1",
"webpack-merge": "^4.1.0",
"whatwg-fetch": "^2.0.3",
"workbox-sw": "^2.1.2",
"yoho-cookie": "^1.2.0",
"yoho-fastclick": "^1.0.6",
"yoho-hammer": "^2.0.8",
"yoho-iscroll": "^5.2.1",
"yoho-jquery": "^2.2.4",
"yoho-jquery-lazyload": "^1.9.12",
"yoho-jquery-qrcode": "^0.14.0",
"yoho-qs": "^1.0.1",
"yoho-swiper": "^3.3.2",
"yoho-swiper2": "0.0.5"
}
}