package.json 4.97 KB
{
  "name": "yoho-community-web",
  "version": "6.9.8-beta48",
  "private": true,
  "description": "A New Yohobuy Project With Express",
  "repository": {
    "type": "git",
    "url": "http://git.yoho.cn/fe/yoho-community-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:pkg": "NODE_ENV=production node ./build/package-build.js",
    "build:node": "node ./build/node-build.js",
    "build:all": "yarn build && yarn build:pkg && yarn build:node",
    "precommit": "lint-staged",
    "lint:css": "stylelint --config .stylelintrc --cache --custom-formatter ./node_modules/stylelint-formatter-table **/**/*.scss **/**/*.css **/**/*.vue",
    "lint:js": "eslint --ext .js,.vue --cache --format table .",
    "lint:js:fix": "yarn lint:js --fix",
    "lint:css:fix": "yarn lint:css --fix",
    "lint:all": "echo \"JS: \";yarn lint:js;echo \"CSS: \";yarn -s lint:css"
  },
  "license": "MIT",
  "transformModules": {
    "cube-ui": {
      "transform": "cube-ui/src/modules/${member}",
      "kebabCase": true
    },
    "lodash": {
      "transform": "lodash/${member}"
    }
  },
  "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",
    "cors": "^2.8.5",
    "cube-ui": "^1.12.6",
    "dayjs": "^1.8.5",
    "express": "^4.16.4",
    "express-session": "^1.15.6",
    "fastclick": "^1.0.6",
    "lodash": "^4.17.11",
    "lottie-web": "^5.4.2",
    "qiniu": "^7.2.1",
    "request-promise": "^4.2.2",
    "serve-favicon": "^2.5.0",
    "source-map": "^0.7.3",
    "uuid": "^3.3.2",
    "video.js": "^7.5.5",
    "vue": "^2.6.6",
    "vue-awesome-swiper": "^3.1.3",
    "vue-infinite-scroll": "^2.0.2",
    "vue-lazyload": "^1.2.6",
    "vue-loader": "^15.6.2",
    "vue-navigation": "^1.1.4",
    "vue-router": "^3.0.2",
    "vue-server-renderer": "^2.6.6",
    "vue-style-loader": "^4.1.2",
    "vue-template-compiler": "^2.6.6",
    "vue-touch": "^1.1.0",
    "vue-virtual-scroll-list": "^1.2.8",
    "vuex": "^3.0.1",
    "winston": "^3.1.0",
    "yoho-activity-sdk": "^1.1.4",
    "yoho-cookie": "^1.2.0",
    "yoho-express-session": "^2.0.0",
    "yoho-jquery": "^2.2.4",
    "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-nullish-coalescing-operator": "^7.4.4",
    "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
    "@babel/plugin-proposal-optional-chaining": "^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",
    "animejs": "^3.0.1",
    "autoprefixer": "^9.4.2",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.4",
    "babel-plugin-import": "^1.11.0",
    "babel-plugin-syntax-jsx": "^6.18.0",
    "babel-plugin-transform-imports": "^1.5.1",
    "babel-plugin-transform-vue-jsx": "^3.7.0",
    "copy-webpack-plugin": "^5.0.3",
    "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",
    "lint-staged": "^8.2.1",
    "memory-fs": "^0.4.1",
    "mini-css-extract-plugin": "^0.5.0",
    "node-sass": "^4.11.0",
    "nodemon": "^1.18.8",
    "optimize-css-assets-webpack-plugin": "^5.0.1",
    "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": "^10.1.0",
    "stylelint-config-yoho": "^1.4.0",
    "stylelint-formatter-table": "^1.0.4",
    "stylelint-scss": "^3.8.0",
    "stylus": "^0.54.5",
    "stylus-loader": "^3.0.2",
    "uglifyjs-webpack-plugin": "^2.0.1",
    "url-loader": "^1.1.2",
    "vconsole": "^3.3.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"
  ]
}