...
|
...
|
@@ -13,9 +13,9 @@ |
|
|
"online": "NODE_ENV=\"production\" node app.js",
|
|
|
"debug": "DEBUG=\"express:*\" node app.js",
|
|
|
"lint-js": "./node_modules/.bin/eslint -c .eslintrc --cache --fix .",
|
|
|
"lint-css": "./node_modules/.bin/stylelint --config .stylelintrc public/**/*.css",
|
|
|
"lint-css": "./node_modules/.bin/stylelint --config .stylelintrc public/scss/**/*.css",
|
|
|
"precommit": "node lint.js",
|
|
|
"test": "ava"
|
|
|
"test": "./node_modules/.bin/nyc ./node_modules/.bin/ava"
|
|
|
},
|
|
|
"ava": {
|
|
|
"tap": true,
|
...
|
...
|
@@ -32,9 +32,11 @@ |
|
|
"dependencies": {
|
|
|
"bluebird": "^3.3.5",
|
|
|
"body-parser": "^1.15.0",
|
|
|
"connect-memcached": "^0.2.0",
|
|
|
"cookie-parser": "^1.4.1",
|
|
|
"express": "^4.13.1",
|
|
|
"express-handlebars": "^3.0.0",
|
|
|
"express-session": "^1.13.0",
|
|
|
"influxdb-winston": "^1.0.1",
|
|
|
"lodash": "^4.12.0",
|
|
|
"md5": "^2.1.0",
|
...
|
...
|
@@ -44,14 +46,15 @@ |
|
|
"request-promise": "^3.0.0",
|
|
|
"serve-favicon": "^2.3.0",
|
|
|
"winston": "^2.2.0",
|
|
|
"winston-daily-rotate-file": "^1.0.1",
|
|
|
"yoho-handlebars": "0.0.1"
|
|
|
"winston-daily-rotate-file": "^1.0.1"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"autoprefixer": "^6.3.6",
|
|
|
"ava": "^0.14.0",
|
|
|
"babel-cli": "^6.8.0",
|
|
|
"babel-preset-es2015": "^6.6.0",
|
|
|
"babel-register": "^6.8.0",
|
|
|
"eslint": "^2.9.0",
|
|
|
"eslint": "^2.10.2",
|
|
|
"eslint-config-yoho": "^1.0.1",
|
|
|
"gulp": "^3.9.1",
|
|
|
"gulp-cssnano": "^2.1.2",
|
...
|
...
|
@@ -62,6 +65,7 @@ |
|
|
"husky": "^0.11.4",
|
|
|
"mocha": "^2.4.5",
|
|
|
"nodemon": "1.9.2",
|
|
|
"nyc": "^6.4.3",
|
|
|
"postcss-assets": "^4.0.1",
|
|
|
"postcss-cachebuster": "^0.1.2",
|
|
|
"postcss-calc": "^5.2.1",
|
...
|
...
|
@@ -78,14 +82,15 @@ |
|
|
"rewire": "^2.5.1",
|
|
|
"shelljs": "^0.7.0",
|
|
|
"stylelint": "^6.3.3",
|
|
|
"stylelint-config-yoho": "^1.2.2",
|
|
|
"stylelint-config-yoho": "^1.2.3",
|
|
|
"webpack": "^1.13.0",
|
|
|
"webpack-dev-server": "^1.14.1",
|
|
|
"webpack-stream": "^3.1.0",
|
|
|
"yoho-fastclick": "0.0.1",
|
|
|
"yoho-hammer": "0.0.1",
|
|
|
"yoho-jquery": "0.0.3",
|
|
|
"yoho-jquery-lazyload": "0.0.2",
|
|
|
"yoho-swiper": "0.0.1"
|
|
|
"yoho-fastclick": "^1.0.6",
|
|
|
"yoho-hammer": "^2.0.7",
|
|
|
"yoho-handlebars": "^4.0.5",
|
|
|
"yoho-jquery": "^1.9.1",
|
|
|
"yoho-jquery-lazyload": "^1.9.7",
|
|
|
"yoho-swiper": "^3.3.1"
|
|
|
}
|
|
|
} |
...
|
...
|
|