package.json 1.9 KB
{
  "name": "trainplatform",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve-proc": "vue-cli-service serve --mode production",
    "serve-dev": "vue-cli-service serve --mode development",
    "serve-test": "vue-cli-service serve --mode test",
    "build-dev": "vue-cli-service build --mode development",
    "build-test": "vue-cli-service build --mode test",
    "build-proc": "vue-cli-service build --mode production",
    "test:e2e": "vue-cli-service test:e2e",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "axios": "^0.21.4",
    "better-scroll": "^1.15.2",
    "core-js": "^3.23.5",
    "element-ui": "^2.15.5",
    "html2canvas": "^1.3.2",
    "mux.js": "^6.2.0",
    "swiper": "^5.4.1",
    "vant": "^2.12.26",
    "vconsole": "^3.14.6",
    "video.js": "^7.20.1",
    "videojs-contrib-hls": "^5.15.0",
    "vue": "^2.6.11",
    "vue-amap": "^0.5.10",
    "vue-pdf": "^4.3.0",
    "vue-router": "^3.2.0",
    "vue-video-player": "^5.0.2",
    "vue-wechat-title": "^2.0.7",
    "vuex": "^3.4.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~5.0.0",
    "@vue/cli-plugin-e2e-cypress": "~5.0.0",
    "@vue/cli-plugin-eslint": "~5.0.0",
    "@vue/cli-plugin-pwa": "~5.0.0",
    "@vue/cli-plugin-router": "~5.0.0",
    "@vue/cli-plugin-vuex": "~5.0.0",
    "@vue/cli-service": "~5.0.0",
    "@vue/eslint-config-standard": "^5.1.2",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.0",
    "eslint-plugin-vue": "^6.2.2",
    "lint-staged": "^9.5.0",
    "node-sass": "^4.14.1",
    "sass-loader": "^8.0.2",
    "vue-template-compiler": "^2.6.11"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.{js,jsx,vue}": [
      "vue-cli-service lint",
      "git add"
    ]
  }
}