package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "weave-scope",
  3. "version": "0.0.0",
  4. "description": "SPA JS app for Weave Scope visualising the application network.",
  5. "repository": "weaveworks/scope",
  6. "license": "Apache-2.0",
  7. "private": true,
  8. "main": "index.js",
  9. "dependencies": {
  10. "@babel/polyfill": "^7.8.7",
  11. "antd": "^3.26.20",
  12. "axios": "^1.6.2",
  13. "babel-plugin-lodash": "3.3.4",
  14. "classnames": "2.2.6",
  15. "d3-array": "2.3.1",
  16. "d3-color": "1.3.0",
  17. "d3-drag": "1.2.4",
  18. "d3-format": "1.3.2",
  19. "d3-scale": "3.0.1",
  20. "d3-scale-chromatic": "1.5.0",
  21. "d3-selection": "1.3.2",
  22. "d3-shape": "1.3.5",
  23. "d3-time-format": "2.1.3",
  24. "dagre": "0.8.4",
  25. "debug": "4.1.1",
  26. "echarts": "^5.4.3",
  27. "extract-text-webpack-plugin": "^3.0.2",
  28. "filesize": "4.1.2",
  29. "filter-invalid-dom-props": "2.0.0",
  30. "http-proxy-middleware": "^2.0.6",
  31. "immutable": "3.8.2",
  32. "json-stable-stringify": "1.0.1",
  33. "lcp": "1.1.0",
  34. "less": "^4.2.0",
  35. "less-loader": "^5.0.0",
  36. "lodash": "4.17.21",
  37. "moment": "2.24.0",
  38. "page": "1.11.4",
  39. "polished": "3.4.1",
  40. "prop-types": "15.7.2",
  41. "rc-slider": "^8.7.1",
  42. "react": "16.9.0",
  43. "react-dom": "16.9.0",
  44. "react-motion": "0.5.2",
  45. "react-redux": "7.1.0",
  46. "redux": "4.0.4",
  47. "redux-immutable": "4.0.0",
  48. "redux-logger": "3.0.6",
  49. "redux-thunk": "2.3.0",
  50. "reqwest": "2.0.5",
  51. "reselect": "4.0.0",
  52. "reselect-map": "1.0.4",
  53. "styled-components": "4.3.2",
  54. "weaveworks-ui-components": "^0.22.8",
  55. "whatwg-fetch": "3.0.0",
  56. "xterm": "3.14.5"
  57. },
  58. "devDependencies": {
  59. "@babel/cli": "^7.14.5",
  60. "@babel/core": "^7.8.7",
  61. "@babel/plugin-proposal-class-properties": "^7.8.3",
  62. "@babel/plugin-proposal-object-rest-spread": "^7.8.3",
  63. "@babel/preset-env": "^7.8.7",
  64. "@babel/preset-react": "^7.8.3",
  65. "@fortawesome/fontawesome-free": "^5.10.1",
  66. "autoprefixer": "9.6.1",
  67. "babel-eslint": "10.1.0",
  68. "babel-jest": "^25.5.1",
  69. "babel-loader": "^8.0.6",
  70. "babel-plugin-transform-class-properties": "6.24.1",
  71. "babel-plugin-transform-object-rest-spread": "6.26.0",
  72. "clean-webpack-plugin": "1.0.1",
  73. "css-loader": "2.1.1",
  74. "eslint": "^6.8.0",
  75. "eslint-config-airbnb": "17.1.1",
  76. "eslint-loader": "^3.0.4",
  77. "eslint-plugin-import": "2.18.2",
  78. "eslint-plugin-jsx-a11y": "6.2.3",
  79. "eslint-plugin-react": "7.14.3",
  80. "express": "4.16.4",
  81. "file-loader": "^2.0.0",
  82. "html-webpack-plugin": "4.0.3",
  83. "http-proxy": "1.18.1",
  84. "http-proxy-rules": "1.1.1",
  85. "jest": "^25.5.4",
  86. "jest-cli": "^26.6.3",
  87. "json-loader": "0.5.7",
  88. "mockdate": "2.0.2",
  89. "postcss-loader": "3.0.0",
  90. "react-router": "^3.2.6",
  91. "style-loader": "0.23.0",
  92. "stylelint": "^13.13.1",
  93. "stylelint-config-recommended": "3.0.0",
  94. "stylelint-config-styled-components": "0.1.1",
  95. "stylelint-custom-processor-loader": "0.6.0",
  96. "stylelint-declaration-use-variable": "^1.7.3",
  97. "stylelint-processor-styled-components": "1.8.0",
  98. "url": "0.11.0",
  99. "url-loader": "0.6.2",
  100. "webpack": "^4.46.0",
  101. "webpack-cli": "^3.3.12",
  102. "webpack-dev-middleware": "3.7.2",
  103. "webpack-hot-middleware": "2.25.0"
  104. },
  105. "scripts": {
  106. "build": "webpack --config webpack.production.config.js",
  107. "build-external": "EXTERNAL=true webpack --config webpack.production.config.js",
  108. "copy-pkg-files": "cp package.json build-pkg/",
  109. "build-pkg": "mkdir -p build-pkg && node node_modules/.bin/babel app/scripts --ignore __tests__ --out-dir build-pkg && yarn run copy-pkg-files",
  110. "bundle": "mkdir -p bundle && yarn run build-pkg && cd ./build-pkg && yarn pack --filename ../bundle/weave-scope.tgz",
  111. "start": "node server.js",
  112. "start-production": "NODE_ENV=production node server.js",
  113. "test": "jest",
  114. "coveralls": "cat coverage/lcov.info | coveralls",
  115. "lint": "eslint app server.js && stylelint app/scripts",
  116. "clean": "rm build/app.js",
  117. "noprobe": "../scope stop && ../scope launch --no-probe --app.window 8760h",
  118. "loadreport": "yarn run noprobe && sleep 1 && curl -X POST -H \"Content-Type: application/json\" http://$BACKEND_HOST/api/report -d"
  119. },
  120. "eslintConfig": {
  121. "rules": {
  122. "no-undef": "off",
  123. "no-restricted-globals": "off",
  124. "no-unused-vars": "off"
  125. }
  126. },
  127. "jest": {
  128. "transform": {
  129. ".*": "<rootDir>/node_modules/babel-jest"
  130. },
  131. "setupFiles": [
  132. "<rootDir>/test/support/raf.js",
  133. "<rootDir>/test/support/storage.js"
  134. ],
  135. "roots": [
  136. "<rootDir>/app/scripts"
  137. ],
  138. "moduleFileExtensions": [
  139. "js",
  140. "json"
  141. ]
  142. },
  143. "engines": {
  144. "node": "^10.19.0"
  145. }
  146. }