mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 20:32:56 +00:00
f5bf5ebb82
* Replace browserify with webpack * Add react-intl-translations-manager * Do not minify in development, add offline-plugin for ServiceWorker background cache updates * Adjust tests and dependencies * Fix production deployments * Fix tests * More optimizations * Improve travis cache for npm stuff * Re-run travis * Add back support for custom.scss as before * Remove offline-plugin and babili * Fix issue with Immutable.List().unshift(...values) not working as expected * Make travis load schema instead of running all migrations in sequence * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in <UI /> * Add react definitions to places that use JSX * Add Procfile.dev for running rails, webpack and streaming API at the same time
123 lines
4 KiB
JSON
123 lines
4 KiB
JSON
{
|
|
"name": "mastodon",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"postversion": "git push --tags",
|
|
"manage:translations": "node ./config/webpack/translationRunner.js",
|
|
"start": "babel-node ./streaming/index.js --presets es2015,stage-2",
|
|
"storybook": "start-storybook -p 9001 -c storybook",
|
|
"test": "npm run test:lint && npm run test:mocha",
|
|
"test:lint": "eslint -c .eslintrc.json --ext=js --ext=jsx app/javascript/",
|
|
"test:mocha": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tootsuite/mastodon.git"
|
|
},
|
|
"dependencies": {
|
|
"autoprefixer": "^6.7.7",
|
|
"axios": "^0.15.3",
|
|
"babel-cli": "^6.23.0",
|
|
"babel-core": "^6.24.1",
|
|
"babel-loader": "7.x",
|
|
"babel-plugin-react-intl": "^2.3.1",
|
|
"babel-plugin-react-transform": "^2.0.2",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"babel-plugin-transform-react-constant-elements": "^6.23.0",
|
|
"babel-plugin-transform-react-inline-elements": "^6.22.0",
|
|
"babel-plugin-transform-react-jsx-self": "^6.22.0",
|
|
"babel-plugin-transform-react-jsx-source": "^6.22.0",
|
|
"babel-plugin-transform-react-pure-class-to-function": "^1.0.1",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.3",
|
|
"babel-preset-env": "^1.4.0",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"babel-preset-react": "^6.11.1",
|
|
"babel-preset-stage-2": "^6.22.0",
|
|
"bufferutil": "^2.0.1",
|
|
"coffee-loader": "^0.7.3",
|
|
"coffee-script": "^1.12.5",
|
|
"compression-webpack-plugin": "^0.4.0",
|
|
"css-loader": "^0.28.0",
|
|
"dotenv": "^4.0.0",
|
|
"emojione": "^2.2.7",
|
|
"emojione-picker": "^2.1.2",
|
|
"es6-promise": "^3.2.1",
|
|
"escape-html": "^1.0.3",
|
|
"eventsource": "^0.2.1",
|
|
"express": "^4.14.1",
|
|
"extract-text-webpack-plugin": "^2.1.0",
|
|
"file-loader": "^0.11.1",
|
|
"font-awesome": "^4.7.0",
|
|
"glob": "^7.1.1",
|
|
"http-link-header": "^0.8.0",
|
|
"immutable": "^3.8.1",
|
|
"intl": "^1.2.5",
|
|
"jquery-ujs": "^1.2.2",
|
|
"js-yaml": "^3.8.3",
|
|
"node-sass": "^4.5.2",
|
|
"npmlog": "^4.0.2",
|
|
"path-complete-extname": "^0.1.0",
|
|
"pg": "^6.1.2",
|
|
"postcss-loader": "^1.3.3",
|
|
"postcss-smart-import": "^0.6.12",
|
|
"precss": "^1.4.0",
|
|
"prop-types": "^15.5.8",
|
|
"rails-erb-loader": "^5.0.0",
|
|
"react": "^15.5.4",
|
|
"react-addons-perf": "^15.4.2",
|
|
"react-addons-shallow-compare": "^15.5.2",
|
|
"react-autosuggest": "^7.0.1",
|
|
"react-decoration": "^1.4.0",
|
|
"react-dom": "^15.5.4",
|
|
"react-imageloader": "^2.1.0",
|
|
"react-immutable-proptypes": "^2.1.0",
|
|
"react-immutable-pure-component": "^0.0.4",
|
|
"react-intl": "^2.1.5",
|
|
"react-motion": "^0.4.5",
|
|
"react-notification": "^6.6.0",
|
|
"react-proxy": "^1.1.8",
|
|
"react-redux": "^5.0.4",
|
|
"react-redux-loading-bar": "2.4.1",
|
|
"react-router": "^2.8.0",
|
|
"react-router-scroll": "^0.3.2",
|
|
"react-simple-dropdown": "^1.1.4",
|
|
"react-storybook-addon-intl": "^0.1.0",
|
|
"react-test-renderer": "^15.5.4",
|
|
"react-toggle": "^2.1.1",
|
|
"redis": "^2.6.5",
|
|
"redux": "^3.6.0",
|
|
"redux-immutable": "^3.1.0",
|
|
"redux-thunk": "^2.2.0",
|
|
"reselect": "^2.5.4",
|
|
"sass-loader": "^6.0.3",
|
|
"sinon": "^1.17.6",
|
|
"stringz": "^0.1.2",
|
|
"style-loader": "^0.16.1",
|
|
"utf-8-validate": "^3.0.1",
|
|
"uuid": "^3.0.1",
|
|
"webpack": "^2.4.1",
|
|
"webpack-manifest-plugin": "^1.1.0",
|
|
"webpack-merge": "^4.1.0",
|
|
"websocket.js": "^0.1.7",
|
|
"ws": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@kadira/storybook": "^2.35.3",
|
|
"babel-eslint": "^7.2.2",
|
|
"chai": "^3.5.0",
|
|
"chai-enzyme": "^0.6.1",
|
|
"enzyme": "^2.8.2",
|
|
"eslint": "^3.19.0",
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
|
"eslint-plugin-react": "^6.10.3",
|
|
"jsdom": "^9.11.0",
|
|
"mocha": "^3.2.0",
|
|
"react-intl-translations-manager": "^5.0.0",
|
|
"webpack-dev-server": "^2.4.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "*"
|
|
}
|
|
}
|