package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "spring-boot-admin-server-ui",
  3. "description": "Spring Boot Admin UI",
  4. "private": true,
  5. "scripts": {
  6. "watch": "vue-cli-service build --watch",
  7. "build": "vue-cli-service build",
  8. "lint": "vue-cli-service lint",
  9. "test:unit": "vue-cli-service test:unit"
  10. },
  11. "dependencies": {
  12. "@fortawesome/fontawesome-svg-core": "^1.2.8",
  13. "@fortawesome/free-brands-svg-icons": "^5.5.0",
  14. "@fortawesome/free-regular-svg-icons": "^5.5.0",
  15. "@fortawesome/free-solid-svg-icons": "^5.5.0",
  16. "@fortawesome/vue-fontawesome": "^0.1.2",
  17. "ansi_up": "^3.0.0",
  18. "autolinker": "^1.7.1",
  19. "axios": "^0.18.0",
  20. "bulma": "^0.7.2",
  21. "bulma-badge": "^2.0.0",
  22. "d3-array": "^1.2.4",
  23. "d3-axis": "^1.0.12",
  24. "d3-brush": "^1.0.6",
  25. "d3-scale": "^2.1.2",
  26. "d3-selection": "^1.3.2",
  27. "d3-shape": "^1.2.2",
  28. "d3-time": "^1.0.10",
  29. "event-source-polyfill": "^1.0.3",
  30. "lodash": "^4.17.11",
  31. "moment": "^2.22.2",
  32. "moment-shortformat": "^2.1.0",
  33. "popper.js": "^1.14.4",
  34. "pretty-bytes": "^5.1.0",
  35. "resize-observer-polyfill": "^1.5.0",
  36. "rxjs": "^6.3.3",
  37. "vue": "^2.5.17",
  38. "vue-clickaway": "2.2.1",
  39. "vue-router": "^3.0.1"
  40. },
  41. "devDependencies": {
  42. "@vue/cli-plugin-babel": "^3.1.1",
  43. "@vue/cli-plugin-eslint": "^3.1.4",
  44. "@vue/cli-plugin-unit-jest": "^3.1.1",
  45. "@vue/cli-service": "^3.1.2",
  46. "@vue/eslint-config-standard": "^4.0.0",
  47. "@vue/test-utils": "^1.0.0-beta.20",
  48. "babel-core": "7.0.0-bridge.0",
  49. "babel-eslint": "^10.0.1",
  50. "babel-jest": "^23.6.0",
  51. "eslint": "^5.8.0",
  52. "eslint-plugin-vue": "^5.0.0-0",
  53. "html-loader": "^0.5.5",
  54. "node-sass": "^4.9.4",
  55. "sass-loader": "^7.0.1",
  56. "vue-template-compiler": "^2.5.17",
  57. "webpack-bundle-analyzer": "^3.0.3"
  58. },
  59. "eslintConfig": {
  60. "root": true,
  61. "env": {
  62. "node": true
  63. },
  64. "extends": [
  65. "eslint:recommended",
  66. "plugin:vue/strongly-recommended"
  67. ],
  68. "rules": {
  69. "quotes": [
  70. "error",
  71. "single"
  72. ],
  73. "no-console": [
  74. "error",
  75. {
  76. "allow": [
  77. "warn"
  78. ]
  79. }
  80. ],
  81. "vue/max-attributes-per-line": "off"
  82. },
  83. "parserOptions": {
  84. "parser": "babel-eslint"
  85. },
  86. "overrides": [
  87. {
  88. "files": [
  89. "*.spec.js"
  90. ],
  91. "env": {
  92. "jest": true
  93. }
  94. }
  95. ]
  96. },
  97. "postcss": {
  98. "plugins": {
  99. "autoprefixer": {}
  100. }
  101. },
  102. "browserslist": [
  103. "> 1%",
  104. "last 2 versions",
  105. "not ie <= 8"
  106. ],
  107. "jest": {
  108. "setupFiles": [
  109. "<rootDir>/src/test/frontend/globals.js"
  110. ],
  111. "moduleFileExtensions": [
  112. "js",
  113. "json",
  114. "vue"
  115. ],
  116. "transform": {
  117. "^.+\\.vue$": "vue-jest",
  118. ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
  119. "^.+\\.js$": "babel-jest"
  120. },
  121. "moduleNameMapper": {
  122. "^@/(.*)$": "<rootDir>/src/main/frontend/$1"
  123. },
  124. "snapshotSerializers": [
  125. "jest-serializer-vue"
  126. ],
  127. "testMatch": [
  128. "**/*.spec.js"
  129. ],
  130. "testURL": "http://example.com"
  131. }
  132. }