package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. {
  2. "name": "@mastodon/mastodon",
  3. "license": "AGPL-3.0-or-later",
  4. "engines": {
  5. "node": ">=12"
  6. },
  7. "scripts": {
  8. "postversion": "git push --tags",
  9. "build:development": "cross-env RAILS_ENV=development NODE_ENV=development ./bin/webpack",
  10. "build:production": "cross-env RAILS_ENV=production NODE_ENV=production ./bin/webpack",
  11. "manage:translations": "node ./config/webpack/translationRunner.js",
  12. "start": "node ./streaming/index.js",
  13. "test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
  14. "test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
  15. "test:lint:js": "eslint --ext=js . --cache",
  16. "test:lint:sass": "sass-lint -v",
  17. "test:jest": "cross-env NODE_ENV=test jest",
  18. "format": "prettier --write '**/*.{json,yml}",
  19. "format-check": "prettier --write '**/*.{json,yml}"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/mastodon/mastodon.git"
  24. },
  25. "browserslist": [
  26. "last 2 versions",
  27. "not IE 11",
  28. "iOS >= 9",
  29. "not dead"
  30. ],
  31. "private": true,
  32. "dependencies": {
  33. "@babel/core": "^7.17.10",
  34. "@babel/plugin-proposal-decorators": "^7.17.9",
  35. "@babel/plugin-transform-react-inline-elements": "^7.16.7",
  36. "@babel/plugin-transform-runtime": "^7.17.10",
  37. "@babel/preset-env": "^7.17.10",
  38. "@babel/preset-react": "^7.16.7",
  39. "@babel/runtime": "^7.17.9",
  40. "@gamestdio/websocket": "^0.3.2",
  41. "@github/webauthn-json": "^0.5.7",
  42. "@rails/ujs": "^6.1.5",
  43. "array-includes": "^3.1.4",
  44. "arrow-key-navigation": "^1.2.0",
  45. "autoprefixer": "^9.8.8",
  46. "axios": "^0.26.1",
  47. "babel-loader": "^8.2.5",
  48. "babel-plugin-lodash": "^3.3.4",
  49. "babel-plugin-preval": "^5.1.0",
  50. "babel-plugin-react-intl": "^6.2.0",
  51. "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
  52. "babel-runtime": "^6.26.0",
  53. "blurhash": "^1.1.5",
  54. "classnames": "^2.3.1",
  55. "color-blend": "^3.0.1",
  56. "compression-webpack-plugin": "^6.1.1",
  57. "cross-env": "^7.0.3",
  58. "css-loader": "^5.2.7",
  59. "cssnano": "^4.1.11",
  60. "detect-passive-events": "^2.0.3",
  61. "dotenv": "^16.0.0",
  62. "emoji-mart": "npm:emoji-mart-lazyload",
  63. "es6-symbol": "^3.1.3",
  64. "escape-html": "^1.0.3",
  65. "exif-js": "^2.3.0",
  66. "express": "^4.18.1",
  67. "file-loader": "^6.2.0",
  68. "font-awesome": "^4.7.0",
  69. "glob": "^7.2.0",
  70. "history": "^4.10.1",
  71. "http-link-header": "^1.0.4",
  72. "immutable": "^4.0.0",
  73. "imports-loader": "^1.2.0",
  74. "intersection-observer": "^0.12.0",
  75. "intl": "^1.2.5",
  76. "intl-messageformat": "^2.2.0",
  77. "intl-relativeformat": "^6.4.3",
  78. "is-nan": "^1.3.2",
  79. "js-yaml": "^4.1.0",
  80. "lodash": "^4.17.21",
  81. "mark-loader": "^0.1.6",
  82. "marky": "^1.2.4",
  83. "mini-css-extract-plugin": "^1.6.2",
  84. "mkdirp": "^1.0.4",
  85. "npmlog": "^6.0.2",
  86. "object-assign": "^4.1.1",
  87. "object-fit-images": "^3.2.3",
  88. "object.values": "^1.1.5",
  89. "offline-plugin": "^5.0.7",
  90. "path-complete-extname": "^1.0.0",
  91. "pg": "^8.5.0",
  92. "postcss-loader": "^3.0.0",
  93. "postcss-object-fit-images": "^1.1.2",
  94. "promise.prototype.finally": "^3.1.3",
  95. "prop-types": "^15.8.1",
  96. "punycode": "^2.1.0",
  97. "react": "^16.14.0",
  98. "react-dom": "^16.14.0",
  99. "react-hotkeys": "^1.1.4",
  100. "react-immutable-proptypes": "^2.2.0",
  101. "react-immutable-pure-component": "^2.2.2",
  102. "react-intl": "^2.9.0",
  103. "react-masonry-infinite": "^1.2.2",
  104. "react-motion": "^0.5.2",
  105. "react-notification": "^6.8.5",
  106. "react-overlays": "^0.9.3",
  107. "react-redux": "^7.2.8",
  108. "react-redux-loading-bar": "^4.0.8",
  109. "react-router-dom": "^4.1.1",
  110. "react-router-scroll-4": "^1.0.0-beta.1",
  111. "react-select": "^5.3.1",
  112. "react-sparklines": "^1.7.0",
  113. "react-swipeable-views": "^0.14.0",
  114. "react-textarea-autosize": "^8.3.3",
  115. "react-toggle": "^4.1.2",
  116. "redis": "^4.1.0",
  117. "redux": "^4.1.2",
  118. "redux-immutable": "^4.0.0",
  119. "redux-thunk": "^2.4.1",
  120. "regenerator-runtime": "^0.13.9",
  121. "rellax": "^1.12.1",
  122. "requestidlecallback": "^0.3.0",
  123. "reselect": "^4.1.5",
  124. "rimraf": "^3.0.2",
  125. "sass": "^1.51.0",
  126. "sass-loader": "^10.2.0",
  127. "stacktrace-js": "^2.0.2",
  128. "stringz": "^2.1.0",
  129. "substring-trie": "^1.0.2",
  130. "terser-webpack-plugin": "^4.2.3",
  131. "tesseract.js": "^2.1.1",
  132. "throng": "^4.0.0",
  133. "tiny-queue": "^0.2.1",
  134. "twitter-text": "3.1.0",
  135. "uuid": "^8.3.1",
  136. "webpack": "^4.46.0",
  137. "webpack-assets-manifest": "^4.0.6",
  138. "webpack-bundle-analyzer": "^4.5.0",
  139. "webpack-cli": "^3.3.12",
  140. "webpack-merge": "^5.8.0",
  141. "wicg-inert": "^3.1.1",
  142. "ws": "^8.6.0"
  143. },
  144. "devDependencies": {
  145. "@testing-library/jest-dom": "^5.16.4",
  146. "@testing-library/react": "^12.1.5",
  147. "babel-eslint": "^10.1.0",
  148. "babel-jest": "^28.0.3",
  149. "eslint": "^7.32.0",
  150. "eslint-plugin-import": "~2.26.0",
  151. "eslint-plugin-jsx-a11y": "~6.5.1",
  152. "eslint-plugin-promise": "~6.0.0",
  153. "eslint-plugin-react": "~7.29.4",
  154. "jest": "^28.0.3",
  155. "jest-environment-jsdom": "^28.0.2",
  156. "prettier": "^2.6.2",
  157. "raf": "^3.4.1",
  158. "react-intl-translations-manager": "^5.0.3",
  159. "react-test-renderer": "^16.14.0",
  160. "sass-lint": "^1.13.1",
  161. "webpack-dev-server": "^3.11.3",
  162. "yargs": "^17.4.1"
  163. },
  164. "resolutions": {
  165. "kind-of": "^6.0.3"
  166. },
  167. "optionalDependencies": {
  168. "bufferutil": "^4.0.6",
  169. "utf-8-validate": "^5.0.9"
  170. }
  171. }