package.json 1.88 KB
{
  "name": "m-yohobuy-node",
  "version": "0.0.1",
  "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": "node_modules/.bin/nodemon -e js,hbs -i public/ app.js",
    "online": "NODE_ENV=\"production\" node app.js",
    "debug": "DEBUG=\"express:*\" node app.js",
    "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"
  },
  "license": "MIT",
  "dependencies": {
    "body-parser": "^1.15.0",
    "cookie-parser": "^1.4.1",
    "express": "^4.13.1",
    "express-handlebars": "^3.0.0",
    "lodash": "^4.8.2",
    "morgan": "^1.7.0",
    "request-promise": "^2.0.1",
    "serve-favicon": "^2.3.0"
  },
  "devDependencies": {
    "autoprefixer": "^6.3.6",
    "eslint": "^2.9.0",
    "eslint-config-yoho": "^1.0.1",
    "gulp": "^3.9.1",
    "gulp-cssnano": "^2.1.2",
    "gulp-ftp": "^1.1.0",
    "gulp-postcss": "^6.1.0",
    "gulp-sourcemaps": "^2.0.0-alpha",
    "gulp-util": "^3.0.7",
    "husky": "^0.11.4",
    "postcss-assets": "^4.0.1",
    "postcss-cachebuster": "^0.1.2",
    "postcss-calc": "^5.2.1",
    "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-short": "^1.4.0",
    "postcss-sprites": "^3.1.2",
    "postcss-use": "^2.0.2",
    "precss": "^1.4.0",
    "stylelint": "^6.2.2",
    "stylelint-config-yoho": "^1.2.0",
    "webpack": "^1.13.0",
    "webpack-dev-server": "^1.14.1",
    "webpack-stream": "^3.1.0",
    "shelljs": "^0.7.0"
  }
}