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.

129 lines
4.4 KiB

  1. {
  2. "name": "mastodon",
  3. "license": "AGPL-3.0",
  4. "scripts": {
  5. "postversion": "git push --tags",
  6. "build:development": "NODE_ENV=development yarn webpack -- --config config/webpack/development.js",
  7. "build:production": "NODE_ENV=production yarn webpack -- --config config/webpack/production.js",
  8. "manage:translations": "node ./config/webpack/translationRunner.js",
  9. "start": "rimraf ./tmp/streaming && babel ./streaming/index.js --out-dir ./tmp && node ./tmp/streaming/index.js",
  10. "storybook": "start-storybook -p 9001 -c storybook",
  11. "test": "npm run test:lint && npm run test:mocha",
  12. "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ storyboard/ streaming/",
  13. "test:mocha": "NODE_ENV=test mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx",
  14. "postinstall": "npm rebuild node-sass"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/tootsuite/mastodon.git"
  19. },
  20. "dependencies": {
  21. "array-includes": "^3.0.3",
  22. "autoprefixer": "^6.7.7",
  23. "axios": "^0.15.3",
  24. "babel-cli": "^6.23.0",
  25. "babel-core": "^6.24.1",
  26. "babel-loader": "7.x",
  27. "babel-plugin-lodash": "^3.2.11",
  28. "babel-plugin-react-intl": "^2.3.1",
  29. "babel-plugin-react-transform": "^2.0.2",
  30. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  31. "babel-plugin-transform-class-properties": "^6.24.1",
  32. "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
  33. "babel-plugin-transform-object-rest-spread": "^6.23.0",
  34. "babel-plugin-transform-react-jsx-self": "^6.22.0",
  35. "babel-plugin-transform-react-jsx-source": "^6.22.0",
  36. "babel-plugin-transform-react-remove-prop-types": "^0.4.5",
  37. "babel-plugin-transform-runtime": "^6.23.0",
  38. "babel-preset-env": "^1.4.0",
  39. "babel-preset-react": "^6.11.1",
  40. "classnames": "^2.2.5",
  41. "coffee-loader": "^0.7.3",
  42. "coffee-script": "^1.12.5",
  43. "compression-webpack-plugin": "^0.4.0",
  44. "css-loader": "^0.28.0",
  45. "date-fns": "^1.28.4",
  46. "dotenv": "^4.0.0",
  47. "emojione": "^2.2.7",
  48. "emojione-picker": "^2.2.1",
  49. "es6-symbol": "^3.1.1",
  50. "escape-html": "^1.0.3",
  51. "express": "^4.14.1",
  52. "extract-text-webpack-plugin": "^2.1.0",
  53. "file-loader": "^0.11.1",
  54. "font-awesome": "^4.7.0",
  55. "glob": "^7.1.1",
  56. "http-link-header": "^0.8.0",
  57. "immutable": "^3.8.1",
  58. "intl": "^1.2.5",
  59. "is-nan": "^1.2.1",
  60. "js-yaml": "^3.8.3",
  61. "lodash": "^4.17.4",
  62. "mkdirp": "^0.5.1",
  63. "node-sass": "^4.5.2",
  64. "npmlog": "^4.0.2",
  65. "object-assign": "^4.1.1",
  66. "path-complete-extname": "^0.1.0",
  67. "pg": "^6.1.2",
  68. "postcss-loader": "^1.3.3",
  69. "postcss-smart-import": "^0.6.12",
  70. "precss": "^1.4.0",
  71. "prop-types": "^15.5.8",
  72. "punycode": "^2.1.0",
  73. "rails-erb-loader": "^5.0.0",
  74. "rails-ujs": "^5.1.0",
  75. "react": "^15.5.4",
  76. "react-addons-perf": "^15.4.2",
  77. "react-addons-shallow-compare": "^15.5.2",
  78. "react-dom": "^15.5.4",
  79. "react-imageloader": "^2.1.0",
  80. "react-immutable-proptypes": "^2.1.0",
  81. "react-immutable-pure-component": "^0.0.4",
  82. "react-intl": "^2.1.5",
  83. "react-motion": "^0.4.5",
  84. "react-notification": "^6.6.0",
  85. "react-redux": "^5.0.4",
  86. "react-redux-loading-bar": "2.4.1",
  87. "react-router": "^2.8.0",
  88. "react-router-scroll": "^0.3.2",
  89. "react-simple-dropdown": "^1.1.4",
  90. "react-toggle": "^2.1.1",
  91. "redis": "^2.6.5",
  92. "redux": "^3.6.0",
  93. "redux-immutable": "^3.1.0",
  94. "redux-thunk": "^2.2.0",
  95. "reselect": "^2.5.4",
  96. "rimraf": "^2.6.1",
  97. "sass-loader": "^6.0.3",
  98. "stringz": "^0.1.2",
  99. "style-loader": "^0.16.1",
  100. "uuid": "^3.0.1",
  101. "uws": "^0.14.5",
  102. "webpack": "^2.4.1",
  103. "webpack-bundle-analyzer": "^2.8.2",
  104. "webpack-manifest-plugin": "^1.1.0",
  105. "webpack-merge": "^4.1.0",
  106. "websocket.js": "^0.1.7"
  107. },
  108. "devDependencies": {
  109. "@kadira/storybook": "^2.35.3",
  110. "babel-eslint": "^7.2.2",
  111. "chai": "^3.5.0",
  112. "chai-enzyme": "^0.6.1",
  113. "enzyme": "^2.8.2",
  114. "eslint": "^3.19.0",
  115. "eslint-plugin-jsx-a11y": "^4.0.0",
  116. "eslint-plugin-react": "^6.10.3",
  117. "jsdom": "^9.11.0",
  118. "minimist": "^1.2.0",
  119. "mocha": "^3.2.0",
  120. "react-intl-translations-manager": "^5.0.0",
  121. "react-storybook-addon-intl": "^0.1.0",
  122. "react-test-renderer": "^15.5.4",
  123. "sinon": "^1.17.6",
  124. "webpack-dev-server": "^2.4.5"
  125. },
  126. "optionalDependencies": {
  127. "fsevents": "*"
  128. }
  129. }