package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "mastodon",
  3. "license": "AGPL-3.0-or-later",
  4. "engines": {
  5. "node": ">=8 <11"
  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 run test:lint && npm run test:jest",
  14. "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ streaming/",
  15. "test:jest": "cross-env NODE_ENV=test jest --coverage"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/tootsuite/mastodon.git"
  20. },
  21. "browserslist": [
  22. "last 2 versions",
  23. "IE >= 11",
  24. "iOS >= 9"
  25. ],
  26. "private": true,
  27. "dependencies": {
  28. "@babel/core": "^7.0.1",
  29. "@babel/plugin-proposal-class-properties": "^7.0.0",
  30. "@babel/plugin-proposal-decorators": "^7.0.0",
  31. "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
  32. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  33. "@babel/plugin-transform-react-inline-elements": "^7.0.0",
  34. "@babel/plugin-transform-react-jsx-self": "^7.0.0",
  35. "@babel/plugin-transform-react-jsx-source": "^7.0.0",
  36. "@babel/plugin-transform-runtime": "^7.0.0",
  37. "@babel/preset-env": "^7.0.0",
  38. "@babel/preset-react": "^7.0.0",
  39. "@babel/runtime": "^7.0.0",
  40. "array-includes": "^3.0.3",
  41. "autoprefixer": "^8.6.5",
  42. "axios": "~0.16.2",
  43. "babel-core": "^7.0.0-bridge.0",
  44. "babel-loader": "^8.0.2",
  45. "babel-plugin-lodash": "^3.3.4",
  46. "babel-plugin-preval": "^3.0.1",
  47. "babel-plugin-react-intl": "^3.0.0",
  48. "babel-plugin-transform-react-remove-prop-types": "^0.4.15",
  49. "classnames": "^2.2.5",
  50. "compression-webpack-plugin": "^2.0.0",
  51. "cross-env": "^5.1.4",
  52. "css-loader": "^1.0.0",
  53. "detect-passive-events": "^1.0.2",
  54. "dotenv": "^4.0.0",
  55. "emoji-mart": "Gargron/emoji-mart#build",
  56. "es6-symbol": "^3.1.1",
  57. "escape-html": "^1.0.3",
  58. "exif-js": "^2.3.0",
  59. "express": "^4.16.2",
  60. "file-loader": "^2.0.0",
  61. "font-awesome": "^4.7.0",
  62. "glob": "^7.1.1",
  63. "history": "^4.7.2",
  64. "http-link-header": "^0.8.0",
  65. "immutable": "^3.8.2",
  66. "imports-loader": "^0.8.0",
  67. "intersection-observer": "^0.5.0",
  68. "intl": "^1.2.5",
  69. "intl-messageformat": "^2.2.0",
  70. "intl-relativeformat": "^2.1.0",
  71. "is-nan": "^1.2.1",
  72. "js-yaml": "^3.11.0",
  73. "lodash": "^4.17.5",
  74. "mark-loader": "^0.1.6",
  75. "marky": "^1.2.0",
  76. "mini-css-extract-plugin": "^0.4.2",
  77. "mkdirp": "^0.5.1",
  78. "node-sass": "^4.9.2",
  79. "npmlog": "^4.1.2",
  80. "object-assign": "^4.1.1",
  81. "object-fit-images": "^3.2.3",
  82. "object.values": "^1.0.4",
  83. "offline-plugin": "^5.0.5",
  84. "path-complete-extname": "^1.0.0",
  85. "pg": "^6.4.0",
  86. "postcss-loader": "^3.0.0",
  87. "postcss-object-fit-images": "^1.1.2",
  88. "postcss-smart-import": "^0.7.6",
  89. "precss": "^3.1.2",
  90. "prop-types": "^15.5.10",
  91. "punycode": "^2.1.0",
  92. "rails-ujs": "^5.2.0",
  93. "react": "^16.5.0",
  94. "react-dom": "^16.5.0",
  95. "react-hotkeys": "^0.10.0",
  96. "react-immutable-proptypes": "^2.1.0",
  97. "react-immutable-pure-component": "^1.1.1",
  98. "react-intl": "^2.4.0",
  99. "react-motion": "^0.5.2",
  100. "react-notification": "^6.8.4",
  101. "react-overlays": "^0.8.3",
  102. "react-redux": "^5.0.4",
  103. "react-redux-loading-bar": "^2.9.3",
  104. "react-router-dom": "^4.1.1",
  105. "react-router-scroll-4": "^1.0.0-beta.1",
  106. "react-select": "^2.0.0",
  107. "react-sparklines": "^1.7.0",
  108. "react-swipeable-views": "^0.12.17",
  109. "react-textarea-autosize": "^5.2.1",
  110. "react-toggle": "^4.0.1",
  111. "redis": "^2.7.1",
  112. "redux": "^3.7.1",
  113. "redux-immutable": "^4.0.0",
  114. "redux-thunk": "^2.2.0",
  115. "rellax": "^1.6.2",
  116. "requestidlecallback": "^0.3.0",
  117. "reselect": "^3.0.1",
  118. "rimraf": "^2.6.1",
  119. "sass-loader": "^7.0.3",
  120. "stringz": "^0.3.0",
  121. "style-loader": "^0.23.0",
  122. "substring-trie": "^1.0.2",
  123. "throng": "^4.0.0",
  124. "tiny-queue": "^0.2.1",
  125. "uglifyjs-webpack-plugin": "^1.2.7",
  126. "uuid": "^3.1.0",
  127. "uws": "10.148.0",
  128. "webpack": "^4.18.0",
  129. "webpack-bundle-analyzer": "^2.13.1",
  130. "webpack-cli": "^3.0.8",
  131. "webpack-manifest-plugin": "^2.0.4",
  132. "webpack-merge": "^4.1.3",
  133. "websocket.js": "^0.1.12"
  134. },
  135. "devDependencies": {
  136. "babel-eslint": "^9.0.0",
  137. "babel-jest": "^23.6.0",
  138. "enzyme": "^3.6.0",
  139. "enzyme-adapter-react-16": "^1.5.0",
  140. "eslint": "^4.19.1",
  141. "eslint-plugin-import": "^2.8.0",
  142. "eslint-plugin-jsx-a11y": "^6.0.3",
  143. "eslint-plugin-promise": "^3.8.0",
  144. "eslint-plugin-react": "^7.8.2",
  145. "jest": "^23.6.0",
  146. "raf": "^3.4.0",
  147. "react-intl-translations-manager": "^5.0.3",
  148. "react-test-renderer": "^16.5.0",
  149. "webpack-dev-server": "^3.1.8",
  150. "yargs": "^8.0.2"
  151. },
  152. "optionalDependencies": {
  153. "fsevents": "*",
  154. "node-zopfli": "^2.0.2"
  155. }
  156. }