package.json 4.16 KB
{
  "name": "yoho-app-web",
  "version": "1.0.1",
  "private": true,
  "description": "A New Yohobuy Project With Express",
  "repository": {
    "type": "git",
    "url": "http://git.yoho.cn/fe/yoho-app-web.git"
  },
  "scripts": {
    "start": "NODE_ENV=production node app.js",
    "test": "NODE_ENV=test3 node app.js",
    "dev": "node app-dev.js",
    "client": "NODE_ENV=production webpack --config ./build/webpack.client.conf.js",
    "server": "NODE_ENV=production webpack --config ./build/webpack.server.conf.js",
    "build": "NODE_ENV=production node ./build/build.js",
    "build:node": "node ./build/node-build.js",
    "lint-js": "eslint -c .eslintrc --cache --fix .",
    "lint-css": "stylelint --syntax scss --config .stylelintrc public/scss/**/*.css",
    "lint-vue": "eslint -c .eslintrc --cache --fix public/vue/**/*.vue || stylelint --syntax scss --extract --config .stylelintrc public/vue/**/*.vue"
  },
  "license": "MIT",
  "transformModules": {
    "cube-ui": {
      "transform": "cube-ui/src/modules/${member}",
      "kebabCase": true
    }
  },
  "dependencies": {
    "@babel/runtime-corejs2": "^7.2.0",
    "axios": "^0.18.0",
    "body-parser": "^1.18.3",
    "client-sessions": "^0.8.0",
    "connect-multiparty": "^2.2.0",
    "connect-redis": "^3.4.0",
    "cookie-parser": "^1.4.3",
    "cube-ui": "^1.12.6",
    "express": "^4.16.4",
    "express-session": "^1.15.6",
    "fastclick": "^1.0.6",
    "lodash": "^4.17.11",
    "lottie-web": "^5.4.2",
    "request-promise": "^4.2.2",
    "serve-favicon": "^2.5.0",
    "source-map": "^0.7.3",
    "uuid": "^3.3.2",
    "vue": "^2.5.20",
    "vue-awesome-swiper": "^3.1.3",
    "vue-infinite-scroll": "^2.0.2",
    "vue-lazyload": "^1.2.6",
    "vue-loader": "^15.4.2",
    "vue-router": "^3.0.2",
    "vue-server-renderer": "^2.5.20",
    "vue-style-loader": "^4.1.2",
    "vue-template-compiler": "^2.5.20",
    "vue-touch": "^1.1.0",
    "vue-virtual-scroll-list": "^1.2.8",
    "vuex": "^3.0.1",
    "winston": "^3.1.0",
    "yoho-cookie": "^1.2.0",
    "yoho-express-session": "^2.0.0",
    "yoho-md5": "^2.1.0",
    "yoho-node-lib": "=0.6.41",
    "yoho-qs": "^1.0.1",
    "yoho-store": "^1.3.20",
    "yoho-zookeeper": "^1.0.11"
  },
  "devDependencies": {
    "@babel/core": "^7.2.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
    "@babel/plugin-transform-async-to-generator": "^7.2.0",
    "@babel/plugin-transform-runtime": "^7.2.0",
    "@babel/preset-env": "^7.2.0",
    "@babel/register": "^7.0.0",
    "@babel/runtime": "^7.2.0",
    "autoprefixer": "^9.4.2",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.4",
    "babel-plugin-import": "^1.11.0",
    "babel-plugin-lodash": "^3.3.4",
    "babel-plugin-syntax-jsx": "^6.18.0",
    "babel-plugin-transform-imports": "^1.5.1",
    "babel-plugin-transform-vue-jsx": "^3.7.0",
    "css-loader": "^2.0.0",
    "eslint": "^5.10.0",
    "eslint-config-yoho": "^1.1.0",
    "eslint-plugin-html": "^5.0.0",
    "eslint-plugin-vue": "^5.0.0",
    "file-loader": "^2.0.0",
    "friendly-errors-webpack-plugin": "^1.7.0",
    "html-webpack-plugin": "^3.2.0",
    "husky": "^1.2.0",
    "ignore-loader": "^0.1.2",
    "lodash-webpack-plugin": "^0.11.5",
    "memory-fs": "^0.4.1",
    "mini-css-extract-plugin": "^0.5.0",
    "node-sass": "^4.11.0",
    "nodemon": "^1.18.8",
    "postcss-calc": "^7.0.1",
    "postcss-loader": "^3.0.0",
    "postcss-pxtorem": "^4.0.1",
    "rimraf": "^2.6.2",
    "sass-loader": "^7.1.0",
    "shelljs": "^0.8.3",
    "style-loader": "^0.23.1",
    "stylelint": "^9.9.0",
    "stylelint-config-yoho": "^1.4.0",
    "stylus": "^0.54.5",
    "stylus-loader": "^3.0.2",
    "uglifyjs-webpack-plugin": "^2.0.1",
    "url-loader": "^1.1.2",
    "webpack": "4.16.5",
    "webpack-bundle-analyzer": "^3.0.3",
    "webpack-cli": "^3.1.2",
    "webpack-dev-middleware": "^3.4.0",
    "webpack-dev-server": "^3.1.10",
    "webpack-hot-middleware": "^2.24.3",
    "webpack-merge": "^4.1.5",
    "webpack-node-externals": "^1.7.2",
    "webpack-post-compile-plugin": "^1.0.0",
    "webpack-transform-modules-plugin": "^0.4.3"
  },
  "browserslist": [
    "> 1%",
    "not ie <= 11",
    "Android >= 4.0",
    "iOS >= 8"
  ]
}