package.json
2.09 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
{
"name": "express-yoho",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"dev": "node_modules/.bin/nodemon -e js,hbs -i public/ ./bin/www",
"online": "NODE_ENV=\"production\" node bin/www",
"lint-js": "node_modules/.bin/eslint -c .eslintrc --cache --fix `git diff --cached --name-only --diff-filter=ACM | grep .js$` app.js",
"lint-css": "node_modules/.bin/stylelint --config .stylelintrc `git diff --cached --name-only --diff-filter=ACM | grep .css$`",
"precommit": "npm run lint-js && npm run lint-css"
},
"dependencies": {
"body-parser": "^1.15.0",
"connect-redis": "^3.0.2",
"cookie-parser": "^1.4.1",
"cors": "^2.7.1",
"debug": "^2.2.0",
"express": "^4.13.1",
"express-handlebars": "^3.0.0",
"express-session": "^1.13.0",
"lodash": "^4.8.2",
"md5": "^2.1.0",
"morgan": "^1.7.0",
"request-promise": "^2.0.1",
"serve-favicon": "^2.3.0"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"babel": "^6.5.2",
"babel-core": "^6.1.21",
"babel-loader": "^6.1.0",
"babel-plugin-transform-runtime": "^6.1.18",
"babel-preset-es2015": "^6.1.18",
"babel-runtime": "^6.1.18",
"eslint": "^2.8.0",
"eslint-config-yoho": "^0.1.6",
"gulp": "^3.9.1",
"gulp-cssnano": "^2.1.1",
"gulp-postcss": "^6.1.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-util": "^3.0.7",
"husky": "^0.11.4",
"jquery": "^2.2.3",
"nodemon": "^1.9.1",
"postcss-assets": "^4.0.1",
"postcss-calc": "^5.2.0",
"postcss-center": "^1.0.0",
"postcss-clearfix": "^1.0.0",
"postcss-crip": "^2.0.0",
"postcss-opacity": "^3.0.0",
"postcss-position": "^0.4.0",
"postcss-pxtorem": "^3.3.1",
"postcss-reporter": "^1.3.3",
"postcss-short": "^1.4.0",
"postcss-sprites": "^3.1.1",
"postcss-use": "^2.0.2",
"precss": "^1.4.0",
"shelljs": "^0.6.0",
"stylelint": "^5.2.1",
"stylelint-config-yoho": "^1.1.0",
"swiper": "^3.3.1",
"vinyl-named": "^1.1.0",
"webpack": "^1.12.14",
"webpack-dev-server": "^1.14.1",
"webpack-stream": "^3.1.0"
}
}