...
|
...
|
@@ -14,10 +14,8 @@ |
|
|
"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-vue": "eslint -c .eslintrc --cache --fix public/vue/**/*.vue || stylelint --extract --config .stylelintrc public/vue/**/*.vue",
|
|
|
"precommit": "node lint.js",
|
|
|
"test": "NODE_ENV=test nyc ./node_modules/.bin/ava",
|
|
|
"posttest": "nyc report --reporter=html"
|
|
|
"lint-vue": "stylelint --extract --config .stylelintrc public/vue/**/*.vue; eslint -c .eslintrc --cache --fix public/vue/**/*.vue",
|
|
|
"precommit": "node lint.js"
|
|
|
},
|
|
|
"license": "MIT",
|
|
|
"dependencies": {
|
...
|
...
|
@@ -35,27 +33,15 @@ |
|
|
"moment": "^2.14.1",
|
|
|
"morgan": "^1.7.0",
|
|
|
"oneapm": "^1.2.20",
|
|
|
"passport": "^0.3.2",
|
|
|
"passport-local": "^1.0.0",
|
|
|
"passport-qq": "0.0.3",
|
|
|
"passport-sina": "^0.1.0",
|
|
|
"passport-strategy": "^1.0.0",
|
|
|
"passport-weixin": "^0.1.0",
|
|
|
"request-promise": "^3.0.0",
|
|
|
"serve-favicon": "^2.3.0",
|
|
|
"uuid": "^2.0.2",
|
|
|
"winston": "^2.2.0",
|
|
|
"winston-daily-rotate-file": "^1.1.4",
|
|
|
"yoho-node-lib": "0.0.17"
|
|
|
"yoho-node-lib": "0.0.21"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"autoprefixer": "^6.3.7",
|
|
|
"babel-core": "^6.10.4",
|
|
|
"babel-loader": "^6.2.4",
|
|
|
"babel-plugin-transform-runtime": "^6.9.0",
|
|
|
"babel-preset-es2015": "^6.9.0",
|
|
|
"babel-runtime": "^6.9.2",
|
|
|
"css-loader": "^0.23.1",
|
|
|
"eslint": "^3.0.1",
|
|
|
"eslint-config-yoho": "^1.0.1",
|
|
|
"eslint-plugin-html": "^1.5.1",
|
...
|
...
|
@@ -80,12 +66,9 @@ |
|
|
"postcss-use": "^2.2.0",
|
|
|
"precss": "^1.4.0",
|
|
|
"shelljs": "^0.7.0",
|
|
|
"stylelint": "^7.0.2",
|
|
|
"stylelint": "^6.9.0",
|
|
|
"stylelint-config-yoho": "^1.2.5",
|
|
|
"vue-hot-reload-api": "^1.3.3",
|
|
|
"vue-html-loader": "^1.2.3",
|
|
|
"vue-loader": "^8.5.3",
|
|
|
"vue-style-loader": "^1.0.0",
|
|
|
"webpack": "^1.13.1",
|
|
|
"webpack-dev-server": "^1.14.1",
|
|
|
"webpack-stream": "^3.1.0",
|
...
|
...
|
@@ -94,8 +77,8 @@ |
|
|
"yoho-jquery": "^2.2.4",
|
|
|
"yoho-jquery-lazyload": "^1.9.7",
|
|
|
"yoho-mlellipsis": "0.0.3",
|
|
|
"yoho-node-lib": "0.0.21",
|
|
|
"yoho-swiper": "^3.3.1",
|
|
|
"yoho-vue": "^1.0.26"
|
|
|
"yoho-vue": "^1.0.26",
|
|
|
"yoho-vue-lazyload": "^0.4.3"
|
|
|
}
|
|
|
} |
...
|
...
|
|