...
|
...
|
@@ -15,34 +15,18 @@ |
|
|
"lint-js": "eslint -c .eslintrc --cache --fix .",
|
|
|
"lint-css": "stylelint --config .stylelintrc public/scss/**/*.css",
|
|
|
"precommit": "node lint.js",
|
|
|
"test": "NODE_ENV=test nyc ./node_modules/.bin/ava",
|
|
|
"posttest": "nyc report --reporter=html",
|
|
|
"prod": "git pull && gulp --cwd=public ge && pm2 reload yohobuy-node"
|
|
|
},
|
|
|
"ava": {
|
|
|
"tap": true,
|
|
|
"require": [
|
|
|
"babel-register"
|
|
|
],
|
|
|
"babel": {
|
|
|
"presets": [
|
|
|
"es2015"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"license": "MIT",
|
|
|
"dependencies": {
|
|
|
"bluebird": "^3.4.0",
|
|
|
"blueimp-file-upload": "^9.14.0",
|
|
|
"body-parser": "^1.15.0",
|
|
|
"captchapng": "0.0.1",
|
|
|
"cheerio": "^0.22.0",
|
|
|
"client-sessions": "^0.7.0",
|
|
|
"compression": "^1.6.2",
|
|
|
"connect-memcached": "^0.2.0",
|
|
|
"connect-multiparty": "^2.0.0",
|
|
|
"cookie-parser": "^1.4.3",
|
|
|
"cookie-session": "^1.2.0",
|
|
|
"express": "^4.13.1",
|
|
|
"lodash": "^4.13.1",
|
|
|
"md5": "^2.1.0",
|
...
|
...
|
@@ -69,11 +53,7 @@ |
|
|
},
|
|
|
"devDependencies": {
|
|
|
"autoprefixer": "^6.3.6",
|
|
|
"ava": "^0.15.2",
|
|
|
"babel-preset-es2015": "^6.9.0",
|
|
|
"babel-register": "^6.9.0",
|
|
|
"bootstrap": "^3.3.7",
|
|
|
"cross-env": "^1.0.8",
|
|
|
"eslint": "^2.12.0",
|
|
|
"eslint-config-yoho": "^1.0.1",
|
|
|
"gulp": "^3.9.1",
|
...
|
...
|
@@ -87,7 +67,6 @@ |
|
|
"husky": "^0.11.4",
|
|
|
"jquery-ui": "^1.12.1",
|
|
|
"nodemon": "1.9.2",
|
|
|
"nyc": "^6.6.1",
|
|
|
"postcss-assets": "^4.0.1",
|
|
|
"postcss-cachebuster": "^0.1.3",
|
|
|
"postcss-calc": "^5.2.1",
|
...
|
...
|
|