package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "lin-cms-vue",
  3. "version": "0.4.3",
  4. "license": "MIT",
  5. "scripts": {
  6. "serve": "node script/plugin-get-config.js && vue-cli-service serve",
  7. "build": "node script/plugin-get-config.js && vue-cli-service build",
  8. "test:unit": "vue-cli-service test:unit",
  9. "lint": "vue-cli-service lint",
  10. "commit": "git add . && git-cz",
  11. "plugin:init": "node script/plugin-init.js",
  12. "plugin:new": "node script/plugin-new.js",
  13. "plugin:reconfig": "node script/plugin-get-config.js"
  14. },
  15. "dependencies": {
  16. "@babel/polyfill": "^7.4.4",
  17. "@tinymce/tinymce-vue": "^4.0.0",
  18. "axios": "^0.24.0",
  19. "core-js": "^3.23.5",
  20. "dayjs": "^1.10.4",
  21. "element-plus": "^2.1.4",
  22. "event-source-polyfill": "^1.0.7",
  23. "fastscan": "^1.0.4",
  24. "good-storage": "^1.1.0",
  25. "js-cookie": "^2.2.0",
  26. "lodash": "^4.17.14",
  27. "mitt": "^2.1.0",
  28. "moment": "^2.29.4",
  29. "photoswipe": "^4.1.2",
  30. "screenfull": "^4.2.0",
  31. "swiper": "^6.4.5",
  32. "vue": "^3.2.24",
  33. "vue-picture-cropper": "^0.1.9",
  34. "vue-router": "^4.0.10",
  35. "vuex": "^4.0.2",
  36. "vuex-persist": "^2.0.1"
  37. },
  38. "devDependencies": {
  39. "@babel/core": "^7.11.4",
  40. "@babel/eslint-parser": "^7.17.0",
  41. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
  42. "@babel/plugin-proposal-optional-chaining": "^7.12.7",
  43. "@vue/cli-plugin-babel": "^5.0.3",
  44. "@vue/cli-plugin-eslint": "^5.0.3",
  45. "@vue/cli-plugin-unit-jest": "^5.0.3",
  46. "@vue/cli-service": "^5.0.3",
  47. "@vue/compiler-sfc": "^3.2.0",
  48. "@vue/eslint-config-airbnb": "^6.0.0",
  49. "@vue/test-utils": "^2.0.0-beta.8",
  50. "babel-jest": "^26.3.0",
  51. "babel-plugin-component": "^1.1.1",
  52. "chalk": "^2.4.2",
  53. "child_process": "^1.0.2",
  54. "commitizen": "^4.2.3",
  55. "cz-conventional-changelog": "^2.1.0",
  56. "directory-tree": "^2.2.3",
  57. "ejs": "^2.6.2",
  58. "eslint": "^8.11.0",
  59. "eslint-plugin-vue": "^8.5.0",
  60. "eslint-plugin-vuejs-accessibility": "^1.1.1",
  61. "fs-extra": "^8.1.0",
  62. "ignore-loader": "^0.1.2",
  63. "inquirer": "^6.5.0",
  64. "js-yaml": "^3.13.1",
  65. "lint-staged": "^9.5.0",
  66. "sass": "^1.26.5",
  67. "sass-loader": "^8.0.2",
  68. "semver": "^6.2.0",
  69. "shelljs": "^0.8.5",
  70. "validate-npm-package-name": "^3.0.0",
  71. "yaml-front-matter": "^4.0.0"
  72. },
  73. "browserslist": [
  74. "> 1%",
  75. "last 2 versions",
  76. "not ie <= 11"
  77. ],
  78. "config": {
  79. "commitizen": {
  80. "path": "./node_modules/cz-conventional-changelog"
  81. }
  82. },
  83. "gitHooks": {
  84. "pre-commit": "lint-staged"
  85. },
  86. "lint-staged": {
  87. "*.{js,vue}": [
  88. "prettier --write",
  89. "vue-cli-service lint",
  90. "git add"
  91. ]
  92. }
  93. }