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