You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "name": "SonarQube",
  3. "version": "0.0.1",
  4. "description": "Put your technical debt under control",
  5. "repository": "SonarSource/sonarqube",
  6. "license": "LGPL-3.0",
  7. "dependencies": {
  8. "@emotion/core": "10.0.28",
  9. "@emotion/styled": "10.0.27",
  10. "classnames": "2.2.6",
  11. "clipboard": "2.0.6",
  12. "core-js": "3.6.4",
  13. "create-react-class": "15.6.3",
  14. "d3-array": "2.4.0",
  15. "d3-hierarchy": "1.1.9",
  16. "d3-scale": "3.2.1",
  17. "d3-selection": "1.4.1",
  18. "d3-shape": "1.3.7",
  19. "d3-zoom": "1.8.3",
  20. "date-fns": "1.30.1",
  21. "dompurify": "2.2.7",
  22. "emotion-theming": "10.0.27",
  23. "formik": "1.2.0",
  24. "history": "3.3.0",
  25. "keymaster": "1.6.2",
  26. "lodash": "4.17.21",
  27. "lunr": "2.3.8",
  28. "mdast-util-toc": "5.0.2",
  29. "prop-types": "15.7.2",
  30. "react": "16.13.0",
  31. "react-countup": "4.3.3",
  32. "react-day-picker": "7.3.0",
  33. "react-dom": "16.13.0",
  34. "react-draggable": "4.2.0",
  35. "react-helmet-async": "1.0.4",
  36. "react-intl": "2.8.0",
  37. "react-modal": "3.8.2",
  38. "react-redux": "5.1.1",
  39. "react-router": "3.2.6",
  40. "react-select": "1.2.1",
  41. "react-virtualized": "9.21.2",
  42. "redux": "4.0.5",
  43. "redux-thunk": "2.3.0",
  44. "regenerator-runtime": "0.13.5",
  45. "rehype-raw": "4.0.2",
  46. "rehype-react": "5.0.0",
  47. "rehype-slug": "3.0.0",
  48. "remark-custom-blocks": "2.5.1",
  49. "remark-rehype": "6.0.0",
  50. "unist-util-visit": "2.0.2",
  51. "valid-url": "1.0.9",
  52. "whatwg-fetch": "3.0.0"
  53. },
  54. "devDependencies": {
  55. "@babel/core": "7.8.7",
  56. "@babel/plugin-proposal-class-properties": "7.8.3",
  57. "@babel/plugin-proposal-object-rest-spread": "7.8.3",
  58. "@babel/plugin-syntax-dynamic-import": "7.8.3",
  59. "@babel/plugin-transform-react-constant-elements": "7.8.3",
  60. "@babel/plugin-transform-react-jsx-self": "7.8.3",
  61. "@babel/plugin-transform-react-jsx-source": "7.8.3",
  62. "@babel/preset-env": "7.9.0",
  63. "@babel/preset-react": "7.8.3",
  64. "@types/classnames": "2.2.10",
  65. "@types/clipboard": "2.0.1",
  66. "@types/d3-array": "1.2.4",
  67. "@types/d3-hierarchy": "1.1.4",
  68. "@types/d3-scale": "2.0.2",
  69. "@types/d3-selection": "1.3.2",
  70. "@types/d3-shape": "1.2.4",
  71. "@types/d3-zoom": "1.7.3",
  72. "@types/dompurify": "2.2.1",
  73. "@types/enzyme": "3.10.5",
  74. "@types/jest": "25.1.4",
  75. "@types/keymaster": "1.6.28",
  76. "@types/lodash": "4.14.149",
  77. "@types/prop-types": "15.7.3",
  78. "@types/react": "16.8.23",
  79. "@types/react-dom": "16.8.4",
  80. "@types/react-helmet": "5.0.15",
  81. "@types/react-intl": "2.3.17",
  82. "@types/react-modal": "3.8.2",
  83. "@types/react-redux": "6.0.6",
  84. "@types/react-router": "3.0.20",
  85. "@types/react-select": "1.2.6",
  86. "@types/react-virtualized": "9.21.0",
  87. "@types/sanitize-html": "1.22.0",
  88. "@types/valid-url": "1.0.2",
  89. "@typescript-eslint/eslint-plugin": "4.13.0",
  90. "@typescript-eslint/parser": "4.13.0",
  91. "autoprefixer": "9.7.4",
  92. "babel-core": "7.0.0-bridge.0",
  93. "babel-jest": "25.1.0",
  94. "babel-loader": "8.0.6",
  95. "babel-plugin-dynamic-import-node": "2.3.0",
  96. "babel-plugin-lodash": "3.3.4",
  97. "chalk": "3.0.0",
  98. "clean-webpack-plugin": "2.0.1",
  99. "copy-webpack-plugin": "5.1.2",
  100. "css-loader": "3.4.2",
  101. "cssnano": "4.1.10",
  102. "enzyme": "3.11.0",
  103. "enzyme-adapter-react-16": "1.15.2",
  104. "enzyme-to-json": "3.4.4",
  105. "escape-string-regexp": "2.0.0",
  106. "eslint": "7.17.0",
  107. "eslint-config-sonarqube": "1.0.0",
  108. "eslint-plugin-import": "2.22.1",
  109. "eslint-plugin-jest": "24.1.0",
  110. "eslint-plugin-jsx-a11y": "6.4.0",
  111. "eslint-plugin-promise": "4.2.1",
  112. "eslint-plugin-react": "7.22.0",
  113. "eslint-plugin-react-hooks": "4.2.0",
  114. "expose-loader": "0.7.5",
  115. "glob": "7.1.6",
  116. "glob-promise": "3.4.0",
  117. "html-webpack-plugin": "3.2.0",
  118. "jest": "25.4.0",
  119. "jest-emotion": "10.0.32",
  120. "jest-junit": "12.0.0",
  121. "lint-staged": "7.3.0",
  122. "lodash-webpack-plugin": "0.11.5",
  123. "mini-css-extract-plugin": "0.9.0",
  124. "postcss-calc": "7.0.2",
  125. "postcss-custom-properties": "9.1.1",
  126. "postcss-loader": "3.0.0",
  127. "prettier": "1.19.1",
  128. "raw-loader": "3.1.0",
  129. "react-dev-utils": "5.0.1",
  130. "react-error-overlay": "1.0.7",
  131. "react-test-renderer": "16.13.0",
  132. "remark": "11.0.2",
  133. "remark-react": "7",
  134. "style-loader": "1.1.3",
  135. "ts-jest": "25.2.1",
  136. "ts-loader": "6.2.1",
  137. "typescript": "4.1.3",
  138. "webpack": "4.46.0",
  139. "webpack-bundle-analyzer": "4.4.2",
  140. "webpack-dev-server": "3.11.2"
  141. },
  142. "scripts": {
  143. "start": "node scripts/start.js",
  144. "build": "node scripts/build.js",
  145. "build-release": "node scripts/build.js release",
  146. "test": "jest",
  147. "format": "prettier --write --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
  148. "format-check": "prettier --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
  149. "lint": "eslint --ext js,ts,tsx --quiet src/main/js",
  150. "lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
  151. "ts-check": "tsc --noEmit",
  152. "validate": "yarn lint && yarn ts-check && yarn format-check && yarn test",
  153. "validate-ci": "yarn lint-report && yarn test --coverage --ci",
  154. "check-ci": "yarn ts-check && yarn format-check",
  155. "precommit": "yarn ts-check && lint-staged"
  156. },
  157. "engines": {
  158. "node": ">=8"
  159. },
  160. "browserslist": [
  161. "last 3 Chrome versions",
  162. "last 3 Firefox versions",
  163. "last 3 Safari versions",
  164. "last 3 Edge versions",
  165. "IE 11"
  166. ],
  167. "prettier": {
  168. "jsxBracketSameLine": true,
  169. "printWidth": 100,
  170. "singleQuote": true
  171. },
  172. "lint-staged": {
  173. "linters": {
  174. "*.{css,json}": [
  175. "prettier --write",
  176. "git add"
  177. ],
  178. "*.{js,ts,tsx}": [
  179. "eslint",
  180. "jest --bail --passWithNoTests --findRelatedTests",
  181. "prettier --write",
  182. "git add"
  183. ]
  184. }
  185. }
  186. }