2016-08-24 17:56:44 +02:00
|
|
|
{
|
|
|
|
"name": "mastodon",
|
2017-04-20 13:29:38 +02:00
|
|
|
"license": "AGPL-3.0",
|
2016-10-10 04:01:10 +02:00
|
|
|
"scripts": {
|
2017-04-26 01:51:51 +02:00
|
|
|
"postversion": "git push --tags",
|
2017-06-25 12:52:42 +02:00
|
|
|
"build:development": "cross-env RAILS_ENV=development ./bin/webpack",
|
2017-06-18 02:57:09 +02:00
|
|
|
"build:production": "cross-env RAILS_ENV=production ./bin/webpack",
|
2017-05-03 02:04:16 +02:00
|
|
|
"manage:translations": "node ./config/webpack/translationRunner.js",
|
2017-06-26 04:49:39 +02:00
|
|
|
"start": "node ./streaming/index.js",
|
2017-10-16 09:33:08 +02:00
|
|
|
"test": "npm run test:lint && npm run test:jest",
|
2017-07-27 22:30:27 +02:00
|
|
|
"test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ streaming/",
|
2017-10-16 09:33:08 +02:00
|
|
|
"test:jest": "cross-env NODE_ENV=test jest",
|
2017-05-12 22:04:41 +02:00
|
|
|
"postinstall": "npm rebuild node-sass"
|
2016-10-10 04:01:10 +02:00
|
|
|
},
|
2017-04-26 01:51:51 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/tootsuite/mastodon.git"
|
|
|
|
},
|
2017-05-30 16:11:45 +02:00
|
|
|
"private": true,
|
2017-01-11 15:39:31 +01:00
|
|
|
"dependencies": {
|
2017-05-11 11:26:06 +02:00
|
|
|
"array-includes": "^3.0.3",
|
2017-10-13 18:01:14 +02:00
|
|
|
"atrament": "^0.2.3",
|
2017-07-12 15:55:17 +02:00
|
|
|
"autoprefixer": "^7.1.2",
|
2017-06-04 17:13:21 +02:00
|
|
|
"axios": "^0.16.2",
|
2017-06-12 10:54:02 +02:00
|
|
|
"babel-core": "^6.25.0",
|
2017-07-12 15:55:17 +02:00
|
|
|
"babel-loader": "^7.1.1",
|
2017-05-06 11:04:55 +02:00
|
|
|
"babel-plugin-lodash": "^3.2.11",
|
2017-07-15 12:47:43 +02:00
|
|
|
"babel-plugin-preval": "^1.3.2",
|
2017-05-03 02:04:16 +02:00
|
|
|
"babel-plugin-react-intl": "^2.3.1",
|
2016-08-31 16:15:12 +02:00
|
|
|
"babel-plugin-react-transform": "^2.0.2",
|
2017-05-07 02:42:38 +02:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2017-05-12 14:44:10 +02:00
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
2017-06-23 19:36:54 +02:00
|
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
2017-05-14 12:59:40 +02:00
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
|
2017-02-26 01:23:44 +01:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
2017-07-09 17:34:05 +02:00
|
|
|
"babel-plugin-transform-react-inline-elements": "^6.22.0",
|
2017-05-03 02:04:16 +02:00
|
|
|
"babel-plugin-transform-react-jsx-self": "^6.22.0",
|
|
|
|
"babel-plugin-transform-react-jsx-source": "^6.22.0",
|
2017-06-27 13:46:11 +02:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.6",
|
2017-05-18 19:14:58 +02:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2017-07-12 15:55:17 +02:00
|
|
|
"babel-preset-env": "^1.6.0",
|
2017-05-29 18:23:28 +02:00
|
|
|
"babel-preset-react": "^6.24.1",
|
2017-05-23 13:10:41 +02:00
|
|
|
"classnames": "^2.2.5",
|
2017-05-03 02:04:16 +02:00
|
|
|
"compression-webpack-plugin": "^0.4.0",
|
2017-06-17 01:14:42 +02:00
|
|
|
"cross-env": "^5.0.1",
|
2017-06-04 17:13:21 +02:00
|
|
|
"css-loader": "^0.28.4",
|
2017-07-25 01:05:51 +02:00
|
|
|
"detect-passive-events": "^1.0.2",
|
2017-02-02 01:31:09 +01:00
|
|
|
"dotenv": "^4.0.0",
|
2017-10-08 21:47:15 +02:00
|
|
|
"emoji-mart": "Gargron/emoji-mart#build",
|
2017-05-11 11:26:06 +02:00
|
|
|
"es6-symbol": "^3.1.1",
|
2017-02-26 01:34:56 +01:00
|
|
|
"escape-html": "^1.0.3",
|
2017-05-29 18:23:28 +02:00
|
|
|
"express": "^4.15.2",
|
2017-07-18 18:42:45 +02:00
|
|
|
"extract-text-webpack-plugin": "^2.1.2",
|
2017-06-12 10:54:02 +02:00
|
|
|
"file-loader": "^0.11.2",
|
2017-05-03 02:04:16 +02:00
|
|
|
"font-awesome": "^4.7.0",
|
|
|
|
"glob": "^7.1.1",
|
2017-04-11 22:53:58 +02:00
|
|
|
"http-link-header": "^0.8.0",
|
2016-08-24 17:56:44 +02:00
|
|
|
"immutable": "^3.8.1",
|
2017-07-27 16:20:48 +02:00
|
|
|
"intersection-observer": "^0.4.0",
|
2016-11-23 18:53:23 +01:00
|
|
|
"intl": "^1.2.5",
|
2017-10-16 11:12:09 +02:00
|
|
|
"intl-messageformat": "^2.1.0",
|
2017-07-12 15:55:17 +02:00
|
|
|
"intl-relativeformat": "^2.0.0",
|
2017-05-11 11:26:06 +02:00
|
|
|
"is-nan": "^1.2.1",
|
2017-07-12 15:55:17 +02:00
|
|
|
"js-yaml": "^3.9.0",
|
2017-05-06 11:05:32 +02:00
|
|
|
"lodash": "^4.17.4",
|
2017-05-25 14:09:55 +02:00
|
|
|
"mark-loader": "^0.1.6",
|
|
|
|
"marky": "^1.2.0",
|
2017-05-22 15:06:06 +02:00
|
|
|
"mkdirp": "^0.5.1",
|
2017-04-20 13:29:38 +02:00
|
|
|
"node-sass": "^4.5.2",
|
2017-06-27 13:46:11 +02:00
|
|
|
"npmlog": "^4.1.2",
|
2017-05-11 11:26:06 +02:00
|
|
|
"object-assign": "^4.1.1",
|
2017-07-14 01:59:34 +02:00
|
|
|
"object-fit-images": "^3.2.3",
|
2017-07-13 22:15:32 +02:00
|
|
|
"offline-plugin": "^4.8.3",
|
2017-05-03 02:04:16 +02:00
|
|
|
"path-complete-extname": "^0.1.0",
|
2017-06-27 13:46:11 +02:00
|
|
|
"pg": "^6.4.0",
|
|
|
|
"postcss-loader": "^2.0.6",
|
2017-07-14 01:59:34 +02:00
|
|
|
"postcss-object-fit-images": "^1.1.2",
|
2017-07-12 15:55:17 +02:00
|
|
|
"postcss-smart-import": "^0.7.5",
|
2017-07-03 11:56:58 +02:00
|
|
|
"precss": "^2.0.0",
|
2017-05-29 18:23:28 +02:00
|
|
|
"prop-types": "^15.5.10",
|
2017-05-04 15:52:08 +02:00
|
|
|
"punycode": "^2.1.0",
|
2017-06-27 13:46:11 +02:00
|
|
|
"rails-ujs": "^5.1.2",
|
2017-09-30 04:29:56 +02:00
|
|
|
"react": "^16.0.0",
|
|
|
|
"react-dom": "^16.0.0",
|
2017-10-06 01:07:59 +02:00
|
|
|
"react-hotkeys": "^0.10.0",
|
2016-08-24 17:56:44 +02:00
|
|
|
"react-immutable-proptypes": "^2.1.0",
|
2017-06-16 01:46:12 +02:00
|
|
|
"react-immutable-pure-component": "^1.0.0",
|
2017-09-06 16:25:19 +02:00
|
|
|
"react-intl": "^2.4.0",
|
2017-05-29 18:23:28 +02:00
|
|
|
"react-motion": "^0.5.0",
|
2017-06-27 13:46:11 +02:00
|
|
|
"react-notification": "^6.7.1",
|
2017-09-22 04:59:17 +02:00
|
|
|
"react-overlays": "^0.8.1",
|
2017-04-21 20:05:35 +02:00
|
|
|
"react-redux": "^5.0.4",
|
2017-06-12 10:54:02 +02:00
|
|
|
"react-redux-loading-bar": "^2.9.2",
|
2017-06-20 20:40:03 +02:00
|
|
|
"react-router-dom": "^4.1.1",
|
2017-09-30 04:29:56 +02:00
|
|
|
"react-router-scroll": "Gargron/react-router-scroll#build",
|
2017-07-09 15:02:26 +02:00
|
|
|
"react-swipeable-views": "^0.12.3",
|
2017-06-27 13:46:11 +02:00
|
|
|
"react-textarea-autosize": "^5.0.7",
|
2017-05-29 18:23:28 +02:00
|
|
|
"react-toggle": "^4.0.1",
|
|
|
|
"redis": "^2.7.1",
|
2017-06-27 13:46:11 +02:00
|
|
|
"redux": "^3.7.1",
|
2017-05-29 18:23:28 +02:00
|
|
|
"redux-immutable": "^4.0.0",
|
2017-02-26 01:23:44 +01:00
|
|
|
"redux-thunk": "^2.2.0",
|
2017-05-24 17:55:00 +02:00
|
|
|
"requestidlecallback": "^0.3.0",
|
2017-05-29 18:23:28 +02:00
|
|
|
"reselect": "^3.0.1",
|
2017-06-27 13:46:11 +02:00
|
|
|
"resolve-url-loader": "^2.1.0",
|
2017-05-22 15:06:06 +02:00
|
|
|
"rimraf": "^2.6.1",
|
2017-06-27 13:46:11 +02:00
|
|
|
"sass-loader": "^6.0.6",
|
|
|
|
"stringz": "^0.2.2",
|
2017-06-12 10:54:02 +02:00
|
|
|
"style-loader": "^0.18.2",
|
2017-10-03 13:11:22 +02:00
|
|
|
"substring-trie": "^1.0.2",
|
2017-05-28 16:25:26 +02:00
|
|
|
"throng": "^4.0.0",
|
2017-05-31 15:11:33 +02:00
|
|
|
"tiny-queue": "^0.2.1",
|
2017-06-27 13:46:11 +02:00
|
|
|
"uuid": "^3.1.0",
|
2017-07-03 11:56:58 +02:00
|
|
|
"uws": "^8.14.0",
|
2017-07-28 05:16:12 +02:00
|
|
|
"webpack": "^3.4.1",
|
|
|
|
"webpack-bundle-analyzer": "^2.8.3",
|
|
|
|
"webpack-manifest-plugin": "^1.2.1",
|
2017-05-03 02:04:16 +02:00
|
|
|
"webpack-merge": "^4.1.0",
|
2017-06-27 13:46:11 +02:00
|
|
|
"websocket.js": "^0.1.12"
|
2017-04-11 00:36:03 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-05-29 18:23:28 +02:00
|
|
|
"babel-eslint": "^7.2.3",
|
2017-09-30 04:29:56 +02:00
|
|
|
"enzyme": "^3.0.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.0.0",
|
2017-04-11 00:36:03 +02:00
|
|
|
"eslint": "^3.19.0",
|
2017-10-16 11:12:09 +02:00
|
|
|
"eslint-plugin-import": "^2.7.0",
|
2017-05-19 11:44:28 +02:00
|
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
2017-05-03 02:04:16 +02:00
|
|
|
"eslint-plugin-react": "^6.10.3",
|
2017-10-16 09:33:08 +02:00
|
|
|
"jest": "^21.2.1",
|
|
|
|
"raf": "^3.4.0",
|
2017-05-03 02:04:16 +02:00
|
|
|
"react-intl-translations-manager": "^5.0.0",
|
2017-09-30 04:29:56 +02:00
|
|
|
"react-test-renderer": "^16.0.0",
|
2017-07-28 05:16:12 +02:00
|
|
|
"webpack-dev-server": "^2.6.1",
|
2017-06-27 13:46:11 +02:00
|
|
|
"yargs": "^8.0.2"
|
2017-04-15 13:27:27 +02:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"fsevents": "*"
|
2017-10-16 09:33:08 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"projects": [
|
|
|
|
"<rootDir>/app/javascript/mastodon"
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"<rootDir>/node_modules/",
|
|
|
|
"<rootDir>/vendor/",
|
|
|
|
"<rootDir>/config/",
|
|
|
|
"<rootDir>/log/",
|
|
|
|
"<rootDir>/public/",
|
|
|
|
"<rootDir>/tmp/"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
|
|
|
"raf/polyfill"
|
|
|
|
],
|
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/app/javascript/mastodon/test_setup.js"
|
2016-08-24 17:56:44 +02:00
|
|
|
}
|
|
|
|
}
|