package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "shalu-dashboard-ui",
  3. "version": "1.0.0",
  4. "private": true,
  5. "main": "index.js",
  6. "module": "index.js",
  7. "typings": "./typings/global.d.ts",
  8. "scripts": {
  9. "serve": "vue-cli-service serve",
  10. "build": "vue-cli-service build --target lib --name shaluDashBoardUi --dest lib index.js --inline-vue",
  11. "test:unit": "vue-cli-service test:unit",
  12. "lint": "vue-cli-service lint"
  13. },
  14. "dependencies": {
  15. "@types/lodash-es": "^4.17.12",
  16. "@vueuse/core": "^10.11.0",
  17. "core-js": "^3.8.3",
  18. "echarts": "^5.5.1",
  19. "lodash-es": "^4.17.21"
  20. },
  21. "devDependencies": {
  22. "@ant-design/icons-vue": "^7.0.1",
  23. "@codemirror/lang-javascript": "^6.2.2",
  24. "@codemirror/lang-json": "^6.0.1",
  25. "@codemirror/theme-one-dark": "^6.1.2",
  26. "@types/jest": "^27.0.1",
  27. "@typescript-eslint/eslint-plugin": "^5.4.0",
  28. "@typescript-eslint/parser": "^5.4.0",
  29. "@vue/babel-plugin-jsx": "^1.2.2",
  30. "@vue/cli-plugin-babel": "~5.0.0",
  31. "@vue/cli-plugin-eslint": "~5.0.0",
  32. "@vue/cli-plugin-typescript": "~5.0.0",
  33. "@vue/cli-plugin-unit-jest": "~5.0.0",
  34. "@vue/cli-service": "~5.0.0",
  35. "@vue/eslint-config-typescript": "^9.1.0",
  36. "@vue/test-utils": "^2.0.0-0",
  37. "@vue/vue3-jest": "^27.0.0-alpha.1",
  38. "ant-design-vue": "^4.2.3",
  39. "babel-jest": "^27.0.6",
  40. "css-loader": "^7.1.2",
  41. "element-plus": "^2.7.6",
  42. "eslint": "^7.32.0",
  43. "eslint-config-prettier": "^8.3.0",
  44. "eslint-plugin-prettier": "^4.0.0",
  45. "eslint-plugin-vue": "^8.0.3",
  46. "jest": "^27.0.5",
  47. "js-beautify": "^1.15.1",
  48. "less-loader": "^12.2.0",
  49. "lint-staged": "^11.1.2",
  50. "prettier": "^2.4.1",
  51. "progress-bar-webpack-plugin": "^2.1.0",
  52. "style-loader": "^4.0.0",
  53. "ts-jest": "^27.0.4",
  54. "typescript": "~4.5.5",
  55. "vue": "^3.2.13",
  56. "vue-codemirror": "^6.1.1",
  57. "vue-hooks-plus": "^2.2.0",
  58. "vue-loader": "^17.4.2",
  59. "webpack": "^5.92.1",
  60. "webpack-cli": "^5.1.4",
  61. "webpack-dev-server": "^5.0.4"
  62. },
  63. "eslintConfig": {
  64. "root": true,
  65. "env": {
  66. "node": true
  67. },
  68. "extends": [
  69. "plugin:vue/vue3-essential",
  70. "eslint:recommended",
  71. "@vue/typescript/recommended"
  72. ],
  73. "parserOptions": {
  74. "ecmaVersion": 2020
  75. },
  76. "rules": {
  77. "vue/multi-word-component-names": "off",
  78. "@typescript-eslint/no-implicit-any-catch": "off"
  79. },
  80. "overrides": [
  81. {
  82. "files": [
  83. "**/__tests__/*.{j,t}s?(x)",
  84. "**/tests/unit/**/*.spec.{j,t}s?(x)"
  85. ],
  86. "env": {
  87. "jest": true
  88. }
  89. },
  90. {
  91. "files": [
  92. "**/*.umd.js"
  93. ],
  94. "rules": {
  95. "@typescript-eslint/explicit-module-boundary-types": "off",
  96. "@typescript-eslint/no-extra-semi": "off",
  97. "@typescript-eslint/no-this-alias": "off",
  98. "no-empty": "off",
  99. "no-fallthrough": "off",
  100. "no-unused-vars": "off",
  101. "@typescript-eslint/no-empty-function": "off"
  102. }
  103. }
  104. ]
  105. },
  106. "browserslist": [
  107. "> 1%",
  108. "last 2 versions",
  109. "not dead",
  110. "not ie 11"
  111. ],
  112. "jest": {
  113. "preset": "@vue/cli-plugin-unit-jest/presets/typescript-and-babel"
  114. },
  115. "gitHooks": {},
  116. "lint-staged": {
  117. "*.{js,jsx,vue,ts,tsx}": "vue-cli-service lint"
  118. }
  119. }