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.

173 lines
5.6 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,.jsx . --cache --report-unused-disable-directives",
  16. "test:lint:sass": "stylelint \"**/*.{css,scss}\" && prettier --check \"**/*.{css,scss}\"",
  17. "test:jest": "cross-env NODE_ENV=test jest",
  18. "format": "prettier --write .",
  19. "format-check": "prettier --check ."
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/mastodon/mastodon.git"
  24. },
  25. "private": true,
  26. "dependencies": {
  27. "@babel/core": "^7.21.3",
  28. "@babel/plugin-transform-react-inline-elements": "^7.21.0",
  29. "@babel/plugin-transform-runtime": "^7.21.0",
  30. "@babel/preset-env": "^7.20.2",
  31. "@babel/preset-react": "^7.18.6",
  32. "@babel/runtime": "^7.21.0",
  33. "@gamestdio/websocket": "^0.3.2",
  34. "@github/webauthn-json": "^2.1.1",
  35. "@rails/ujs": "^6.1.7",
  36. "abortcontroller-polyfill": "^1.7.5",
  37. "array-includes": "^3.1.6",
  38. "atrament": "0.2.4",
  39. "arrow-key-navigation": "^1.2.0",
  40. "autoprefixer": "^10.4.14",
  41. "axios": "^1.3.4",
  42. "babel-loader": "^8.3.0",
  43. "babel-plugin-lodash": "^3.3.4",
  44. "babel-plugin-preval": "^5.1.0",
  45. "babel-plugin-react-intl": "^6.2.0",
  46. "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
  47. "blurhash": "^2.0.5",
  48. "classnames": "^2.3.2",
  49. "cocoon-js-vanilla": "^1.3.0",
  50. "color-blend": "^4.0.0",
  51. "compression-webpack-plugin": "^6.1.1",
  52. "cross-env": "^7.0.3",
  53. "css-loader": "^5.2.7",
  54. "cssnano": "^5.1.15",
  55. "detect-passive-events": "^2.0.3",
  56. "dotenv": "^16.0.3",
  57. "emoji-mart": "npm:emoji-mart-lazyload@latest",
  58. "es6-symbol": "^3.1.3",
  59. "escape-html": "^1.0.3",
  60. "exif-js": "^2.3.0",
  61. "express": "^4.18.2",
  62. "favico.js": "^0.3.10",
  63. "file-loader": "^6.2.0",
  64. "font-awesome": "^4.7.0",
  65. "fuzzysort": "^2.0.4",
  66. "glob": "^9.3.0",
  67. "history": "^4.10.1",
  68. "http-link-header": "^1.1.0",
  69. "immutable": "^4.3.0",
  70. "imports-loader": "^1.2.0",
  71. "intl": "^1.2.5",
  72. "intl-messageformat": "^2.2.0",
  73. "intl-relativeformat": "^6.4.3",
  74. "js-yaml": "^4.1.0",
  75. "jsdom": "^21.1.1",
  76. "lodash": "^4.17.21",
  77. "mark-loader": "^0.1.6",
  78. "marky": "^1.2.5",
  79. "mini-css-extract-plugin": "^1.6.2",
  80. "mkdirp": "^2.1.5",
  81. "npmlog": "^7.0.1",
  82. "object-assign": "^4.1.1",
  83. "object.values": "^1.1.6",
  84. "path-complete-extname": "^1.0.0",
  85. "pg": "^8.5.0",
  86. "pg-connection-string": "^2.5.0",
  87. "postcss": "^8.4.21",
  88. "postcss-loader": "^4.3.0",
  89. "promise.prototype.finally": "^3.1.4",
  90. "prop-types": "^15.8.1",
  91. "punycode": "^2.3.0",
  92. "react": "^16.14.0",
  93. "react-dom": "^16.14.0",
  94. "react-helmet": "^6.1.0",
  95. "react-hotkeys": "^1.1.4",
  96. "react-immutable-proptypes": "^2.2.0",
  97. "react-immutable-pure-component": "^2.2.2",
  98. "react-intl": "^2.9.0",
  99. "react-motion": "^0.5.2",
  100. "react-notification": "^6.8.5",
  101. "react-overlays": "^5.2.1",
  102. "react-redux": "^7.2.9",
  103. "react-redux-loading-bar": "^5.0.4",
  104. "react-router-dom": "^4.1.1",
  105. "react-router-scroll-4": "^1.0.0-beta.1",
  106. "react-select": "^5.7.1",
  107. "react-sparklines": "^1.7.0",
  108. "react-swipeable-views": "^0.14.0",
  109. "react-textarea-autosize": "^8.4.0",
  110. "react-toggle": "^4.1.3",
  111. "redis": "^4.6.5",
  112. "redux": "^4.2.1",
  113. "redux-immutable": "^4.0.0",
  114. "redux-thunk": "^2.4.2",
  115. "regenerator-runtime": "^0.13.11",
  116. "requestidlecallback": "^0.3.0",
  117. "reselect": "^4.1.7",
  118. "rimraf": "^4.4.0",
  119. "sass": "^1.59.3",
  120. "sass-loader": "^10.2.0",
  121. "stacktrace-js": "^2.0.2",
  122. "stringz": "^2.1.0",
  123. "substring-trie": "^1.0.2",
  124. "terser-webpack-plugin": "^4.2.3",
  125. "tesseract.js": "^2.1.1",
  126. "throng": "^4.0.0",
  127. "tiny-queue": "^0.2.1",
  128. "twitter-text": "3.1.0",
  129. "uuid": "^8.3.1",
  130. "webpack": "^4.46.0",
  131. "webpack-assets-manifest": "^4.0.6",
  132. "webpack-bundle-analyzer": "^4.8.0",
  133. "webpack-cli": "^3.3.12",
  134. "webpack-merge": "^5.8.0",
  135. "wicg-inert": "^3.1.2",
  136. "workbox-expiration": "^6.5.4",
  137. "workbox-precaching": "^6.5.4",
  138. "workbox-routing": "^6.5.4",
  139. "workbox-strategies": "^6.5.4",
  140. "workbox-webpack-plugin": "^6.5.4",
  141. "workbox-window": "^6.5.4",
  142. "ws": "^8.12.1"
  143. },
  144. "devDependencies": {
  145. "@babel/eslint-parser": "^7.21.3",
  146. "@testing-library/jest-dom": "^5.16.5",
  147. "@testing-library/react": "^12.1.5",
  148. "babel-jest": "^29.5.0",
  149. "eslint": "^8.36.0",
  150. "eslint-plugin-import": "~2.27.5",
  151. "eslint-plugin-jsx-a11y": "~6.7.1",
  152. "eslint-plugin-promise": "~6.1.1",
  153. "eslint-plugin-react": "~7.32.2",
  154. "jest": "^29.5.0",
  155. "jest-environment-jsdom": "^29.5.0",
  156. "postcss-scss": "^4.0.6",
  157. "prettier": "^2.8.5",
  158. "raf": "^3.4.1",
  159. "react-intl-translations-manager": "^5.0.3",
  160. "react-test-renderer": "^16.14.0",
  161. "stylelint": "^15.3.0",
  162. "stylelint-config-standard-scss": "^7.0.1",
  163. "webpack-dev-server": "^3.11.3",
  164. "yargs": "^17.7.1"
  165. },
  166. "resolutions": {
  167. "kind-of": "^6.0.3"
  168. },
  169. "optionalDependencies": {
  170. "bufferutil": "^4.0.7",
  171. "utf-8-validate": "^6.0.3"
  172. }
  173. }