闭社主体 forked from https://github.com/tootsuite/mastodon
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.

127 lines
4.3 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": "babel-node ./streaming/index.js --presets es2015,stage-2",
  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 --ext=jsx app/javascript/",
  13. "test:mocha": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/tootsuite/mastodon.git"
  18. },
  19. "dependencies": {
  20. "autoprefixer": "^6.7.7",
  21. "axios": "^0.15.3",
  22. "babel-cli": "^6.23.0",
  23. "babel-core": "^6.24.1",
  24. "babel-loader": "7.x",
  25. "babel-plugin-lodash": "^3.2.11",
  26. "babel-plugin-react-intl": "^2.3.1",
  27. "babel-plugin-react-transform": "^2.0.2",
  28. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  29. "babel-plugin-transform-object-rest-spread": "^6.23.0",
  30. "babel-plugin-transform-react-constant-elements": "^6.23.0",
  31. "babel-plugin-transform-react-inline-elements": "^6.22.0",
  32. "babel-plugin-transform-react-jsx-self": "^6.22.0",
  33. "babel-plugin-transform-react-jsx-source": "^6.22.0",
  34. "babel-plugin-transform-react-pure-class-to-function": "^1.0.1",
  35. "babel-plugin-transform-react-remove-prop-types": "^0.4.3",
  36. "babel-preset-env": "^1.4.0",
  37. "babel-preset-es2015": "^6.22.0",
  38. "babel-preset-react": "^6.11.1",
  39. "babel-preset-stage-2": "^6.22.0",
  40. "bufferutil": "^2.0.1",
  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. "dotenv": "^4.0.0",
  46. "emojione": "^2.2.7",
  47. "emojione-picker": "^2.1.2",
  48. "es6-promise": "^3.2.1",
  49. "escape-html": "^1.0.3",
  50. "eventsource": "^0.2.1",
  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. "jquery-ujs": "^1.2.2",
  60. "js-yaml": "^3.8.3",
  61. "lodash": "^4.17.4",
  62. "node-sass": "^4.5.2",
  63. "npmlog": "^4.0.2",
  64. "path-complete-extname": "^0.1.0",
  65. "pg": "^6.1.2",
  66. "postcss-loader": "^1.3.3",
  67. "postcss-smart-import": "^0.6.12",
  68. "precss": "^1.4.0",
  69. "prop-types": "^15.5.8",
  70. "punycode": "^2.1.0",
  71. "rails-erb-loader": "^5.0.0",
  72. "react": "^15.5.4",
  73. "react-addons-perf": "^15.4.2",
  74. "react-addons-shallow-compare": "^15.5.2",
  75. "react-autosuggest": "^7.0.1",
  76. "react-dom": "^15.5.4",
  77. "react-imageloader": "^2.1.0",
  78. "react-immutable-proptypes": "^2.1.0",
  79. "react-immutable-pure-component": "^0.0.4",
  80. "react-intl": "^2.1.5",
  81. "react-motion": "^0.4.5",
  82. "react-notification": "^6.6.0",
  83. "react-proxy": "^1.1.8",
  84. "react-redux": "^5.0.4",
  85. "react-redux-loading-bar": "2.4.1",
  86. "react-router": "^2.8.0",
  87. "react-router-scroll": "^0.3.2",
  88. "react-simple-dropdown": "^1.1.4",
  89. "react-storybook-addon-intl": "^0.1.0",
  90. "react-test-renderer": "^15.5.4",
  91. "react-toggle": "^2.1.1",
  92. "redis": "^2.6.5",
  93. "redux": "^3.6.0",
  94. "redux-immutable": "^3.1.0",
  95. "redux-thunk": "^2.2.0",
  96. "reselect": "^2.5.4",
  97. "sass-loader": "^6.0.3",
  98. "sinon": "^1.17.6",
  99. "stringz": "^0.1.2",
  100. "style-loader": "^0.16.1",
  101. "utf-8-validate": "^3.0.1",
  102. "uuid": "^3.0.1",
  103. "uws": "^0.14.5",
  104. "webpack": "^2.4.1",
  105. "webpack-manifest-plugin": "^1.1.0",
  106. "webpack-merge": "^4.1.0",
  107. "websocket.js": "^0.1.7"
  108. },
  109. "devDependencies": {
  110. "@kadira/storybook": "^2.35.3",
  111. "babel-eslint": "^7.2.2",
  112. "chai": "^3.5.0",
  113. "chai-enzyme": "^0.6.1",
  114. "enzyme": "^2.8.2",
  115. "eslint": "^3.19.0",
  116. "eslint-plugin-jsx-a11y": "^5.0.0",
  117. "eslint-plugin-react": "^6.10.3",
  118. "jsdom": "^9.11.0",
  119. "minimist": "^1.2.0",
  120. "mocha": "^3.2.0",
  121. "react-intl-translations-manager": "^5.0.0",
  122. "webpack-dev-server": "^2.4.5"
  123. },
  124. "optionalDependencies": {
  125. "fsevents": "*"
  126. }
  127. }