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.

177 lines
5.7 KiB

  1. {
  2. "name": "@mastodon/mastodon",
  3. "license": "AGPL-3.0-or-later",
  4. "engines": {
  5. "node": ">=14"
  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": "stylelint '**/*.scss'",
  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. "private": true,
  26. "dependencies": {
  27. "@babel/core": "^7.19.6",
  28. "@babel/plugin-proposal-decorators": "^7.19.6",
  29. "@babel/plugin-transform-react-inline-elements": "^7.18.6",
  30. "@babel/plugin-transform-runtime": "^7.19.6",
  31. "@babel/preset-env": "^7.19.4",
  32. "@babel/preset-react": "^7.18.6",
  33. "@babel/runtime": "^7.19.4",
  34. "@gamestdio/websocket": "^0.3.2",
  35. "@github/webauthn-json": "^0.5.7",
  36. "@rails/ujs": "^6.1.7",
  37. "abortcontroller-polyfill": "^1.7.5",
  38. "array-includes": "^3.1.5",
  39. "atrament": "0.2.4",
  40. "arrow-key-navigation": "^1.2.0",
  41. "autoprefixer": "^9.8.8",
  42. "axios": "^1.1.3",
  43. "babel-loader": "^8.2.5",
  44. "babel-plugin-lodash": "^3.3.4",
  45. "babel-plugin-preval": "^5.1.0",
  46. "babel-plugin-react-intl": "^6.2.0",
  47. "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
  48. "blurhash": "^2.0.3",
  49. "classnames": "^2.3.2",
  50. "cocoon-js-vanilla": "^1.3.0",
  51. "color-blend": "^3.0.1",
  52. "compression-webpack-plugin": "^6.1.1",
  53. "cross-env": "^7.0.3",
  54. "css-loader": "^5.2.7",
  55. "cssnano": "^4.1.11",
  56. "detect-passive-events": "^2.0.3",
  57. "dotenv": "^16.0.3",
  58. "emoji-mart": "npm:emoji-mart-lazyload",
  59. "es6-symbol": "^3.1.3",
  60. "escape-html": "^1.0.3",
  61. "exif-js": "^2.3.0",
  62. "express": "^4.18.2",
  63. "favico.js": "^0.3.10",
  64. "file-loader": "^6.2.0",
  65. "font-awesome": "^4.7.0",
  66. "fuzzysort": "^1.9.0",
  67. "glob": "^8.0.3",
  68. "history": "^4.10.1",
  69. "http-link-header": "^1.0.5",
  70. "immutable": "^4.1.0",
  71. "imports-loader": "^1.2.0",
  72. "intersection-observer": "^0.12.2",
  73. "intl": "^1.2.5",
  74. "intl-messageformat": "^2.2.0",
  75. "intl-relativeformat": "^6.4.3",
  76. "is-nan": "^1.3.2",
  77. "js-yaml": "^4.1.0",
  78. "jsdom": "^20.0.1",
  79. "lodash": "^4.17.21",
  80. "mark-loader": "^0.1.6",
  81. "marky": "^1.2.5",
  82. "mini-css-extract-plugin": "^1.6.2",
  83. "mkdirp": "^1.0.4",
  84. "npmlog": "^7.0.1",
  85. "object-assign": "^4.1.1",
  86. "object-fit-images": "^3.2.3",
  87. "object.values": "^1.1.5",
  88. "path-complete-extname": "^1.0.0",
  89. "pg": "^8.5.0",
  90. "postcss": "^8.4.18",
  91. "postcss-loader": "^3.0.0",
  92. "postcss-object-fit-images": "^1.1.2",
  93. "promise.prototype.finally": "^3.1.3",
  94. "prop-types": "^15.8.1",
  95. "punycode": "^2.1.0",
  96. "react": "^16.14.0",
  97. "react-dom": "^16.14.0",
  98. "react-helmet": "^6.1.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-motion": "^0.5.2",
  104. "react-notification": "^6.8.5",
  105. "react-overlays": "^0.9.3",
  106. "react-redux": "^7.2.9",
  107. "react-redux-loading-bar": "^5.0.4",
  108. "react-router-dom": "^4.1.1",
  109. "react-router-scroll-4": "^1.0.0-beta.1",
  110. "react-select": "^5.5.4",
  111. "react-sparklines": "^1.7.0",
  112. "react-swipeable-views": "^0.14.0",
  113. "react-textarea-autosize": "^8.3.4",
  114. "react-toggle": "^4.1.3",
  115. "redis": "^4.0.6 <4.1.0",
  116. "redux": "^4.2.0",
  117. "redux-immutable": "^4.0.0",
  118. "redux-thunk": "^2.4.1",
  119. "regenerator-runtime": "^0.13.10",
  120. "requestidlecallback": "^0.3.0",
  121. "reselect": "^4.1.6",
  122. "rimraf": "^3.0.2",
  123. "sass": "^1.55.0",
  124. "sass-loader": "^10.2.0",
  125. "stacktrace-js": "^2.0.2",
  126. "stringz": "^2.1.0",
  127. "substring-trie": "^1.0.2",
  128. "terser-webpack-plugin": "^4.2.3",
  129. "tesseract.js": "^2.1.1",
  130. "throng": "^4.0.0",
  131. "tiny-queue": "^0.2.1",
  132. "twitter-text": "3.1.0",
  133. "uuid": "^8.3.1",
  134. "webpack": "^4.46.0",
  135. "webpack-assets-manifest": "^4.0.6",
  136. "webpack-bundle-analyzer": "^4.6.1",
  137. "webpack-cli": "^3.3.12",
  138. "webpack-merge": "^5.8.0",
  139. "wicg-inert": "^3.1.2",
  140. "workbox-expiration": "^6.5.4",
  141. "workbox-precaching": "^6.5.4",
  142. "workbox-routing": "^6.5.4",
  143. "workbox-strategies": "^6.5.4",
  144. "workbox-webpack-plugin": "^6.5.4",
  145. "workbox-window": "^6.5.4",
  146. "ws": "^8.10.0"
  147. },
  148. "devDependencies": {
  149. "@babel/eslint-parser": "^7.19.1",
  150. "@testing-library/jest-dom": "^5.16.5",
  151. "@testing-library/react": "^12.1.5",
  152. "babel-jest": "^29.2.1",
  153. "eslint": "^7.32.0",
  154. "eslint-plugin-import": "~2.26.0",
  155. "eslint-plugin-jsx-a11y": "~6.6.1",
  156. "eslint-plugin-promise": "~6.1.1",
  157. "eslint-plugin-react": "~7.31.10",
  158. "jest": "^29.2.2",
  159. "jest-environment-jsdom": "^29.2.1",
  160. "postcss-scss": "^4.0.5",
  161. "prettier": "^2.7.1",
  162. "raf": "^3.4.1",
  163. "react-intl-translations-manager": "^5.0.3",
  164. "react-test-renderer": "^16.14.0",
  165. "stylelint": "^14.14.0",
  166. "stylelint-config-standard-scss": "^5.0.0",
  167. "webpack-dev-server": "^3.11.3",
  168. "yargs": "^17.6.0"
  169. },
  170. "resolutions": {
  171. "kind-of": "^6.0.3"
  172. },
  173. "optionalDependencies": {
  174. "bufferutil": "^4.0.7",
  175. "utf-8-validate": "^5.0.10"
  176. }
  177. }