package.json
3.73 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
{
"name": "yohobuy-node",
"version": "6.9.20",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
"type": "git",
"url": "http://git.dev.yoho.cn/web/yohobuy-node.git"
},
"scripts": {
"start": "node app.js",
"dev": "nodemon -e js,hbs -i public/ -i dist/ app.js",
"static": "webpack-dev-server --config ./public/build/webpack.dev.config.js",
"build": "webpack --config ./public/build/webpack.prod.config.js",
"build:node": "node ./public/build/node-build.js",
"online": "NODE_ENV=\"production\" node app.js",
"debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
"lint-js": "eslint -c .eslintrc --cache --fix .",
"lint-css": "stylelint --config .stylelintrc 'public/scss/**/*.css'",
"lint-all": "node lint-all.js",
"precommit": "node lint-commit.js",
"prod": "git pull && webpack --config ./public/build/webpack.prod.config.js && pm2 reload yohobuy-node"
},
"dependencies": {
"bluebird": "^3.4.0",
"blueimp-file-upload": "^9.14.0",
"body-parser": "^1.15.0",
"cheerio": "^0.22.0",
"client-sessions": "^0.7.0",
"clipboard": "^1.7.1",
"compression": "^1.6.2",
"connect-multiparty": "^2.0.0",
"connect-redis": "^3.3.3",
"cookie-parser": "^1.4.3",
"csurf": "^1.9.0",
"dnscache": "^1.0.1",
"express": "^4.13.1",
"handlebars": "4.0.5",
"lodash": "^4.13.1",
"md5": "^2.1.0",
"moment": "^2.14.1",
"morgan": "^1.7.0",
"passport": "^0.3.2",
"passport-douban": "0.0.1",
"passport-local": "^1.0.0",
"passport-qq": "0.0.3",
"passport-renren": "^0.1.3",
"passport-sina": "^0.1.0",
"passport-strategy": "1.x.x",
"passport-weixin": "^0.1.0",
"path-to-regexp": "^2.2.0",
"redis": "^2.7.1",
"request": "^2.81.0",
"request-ip": "^1.2.2",
"request-promise": "^3.0.0",
"serve-favicon": "^2.3.0",
"sitemap": "^1.12.1",
"urlencode": "^1.1.0",
"uuid": "^2.0.2",
"yo-cli": "=2.1.13",
"yoho-express-session": "^2.0.0",
"yoho-node-lib": "^0.6.46",
"yoho-zookeeper": "^1.0.10"
},
"devDependencies": {
"autoprefixer": "^8.3.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-runtime": "^6.26.0",
"bootstrap": "^3.3.7",
"css-loader": "^0.28.11",
"cssnano": "^3.10.0",
"eslint": "^4.19.1",
"eslint-config-yoho": "1.0.9",
"eslint-loader": "^1.6.3",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"handlebars": "4.0.5",
"handlebars-loader": "^1.7.0",
"husky": "^0.11.4",
"jquery-ui": "^1.12.1",
"nodemon": "^1.17.5",
"postcss": "^6.0.21",
"postcss-assets": "^5.0.0",
"postcss-calc": "^6.0.1",
"postcss-center": "^1.0.0",
"postcss-clearfix": "^2.0.1",
"postcss-crip": "^2.0.1",
"postcss-import": "^11.1.0",
"postcss-loader": "^2.1.6",
"postcss-opacity": "^5.0.0",
"postcss-position": "^1.0.0",
"postcss-scss": "^1.0.5",
"postcss-short": "^4.1.0",
"postcss-sprites": "^4.2.0",
"postcss-use": "^3.0.0",
"precss": "2.0.0",
"rewire": "^2.5.1",
"shelljs": "^0.8.1",
"style-loader": "^0.21.0",
"stylelint": "^9.2.0",
"stylelint-config-yoho": "1.3.0",
"stylelint-formatter-table": "^1.0.3",
"webpack-dev-server": "^3.1.4",
"yoho-eventproxy": "^0.3.6",
"yoho-handlebars": "^4.0.6",
"yoho-jquery": "^1.12.4",
"yoho-jquery-dotdotdot": "0.0.2",
"yoho-jquery-lazyload": "1.9.7",
"yoho-jquery-pjax": "0.0.1",
"yoho-jquery-placeholder": "^2.3.1",
"yoho-jquery-qrcode": "^0.14.0",
"yoho-qs": "^1.0.1",
"yoho-slider": "0.0.2",
"yoho-swiper": "^3.3.1"
}
}