package.json 4.9 KB
Newer Older
1 2
{
  "name": "mastodon",
TrashMacNugget's avatar
TrashMacNugget committed
3
  "license": "AGPL-3.0-or-later",
4
  "engines": {
5
    "node": ">=8"
6
  },
7
  "scripts": {
8
    "postversion": "git push --tags",
9 10
    "build:development": "cross-env RAILS_ENV=development NODE_ENV=development ./bin/webpack",
    "build:production": "cross-env RAILS_ENV=production NODE_ENV=production ./bin/webpack",
11
    "manage:translations": "node ./config/webpack/translationRunner.js",
12
    "start": "node ./streaming/index.js",
13
    "test": "npm-run-all test:lint test:jest",
14
    "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ streaming/",
Akihiko Odaki's avatar
Akihiko Odaki committed
15
    "test:jest": "cross-env NODE_ENV=test jest --coverage"
16
  },
17 18 19 20
  "repository": {
    "type": "git",
    "url": "https://github.com/tootsuite/mastodon.git"
  },
21 22 23 24 25
  "browserslist": [
    "last 2 versions",
    "IE >= 11",
    "iOS >= 9"
  ],
26
  "private": true,
27
  "dependencies": {
28 29 30 31 32 33 34 35 36 37 38 39
    "@babel/core": "^7.0.1",
    "@babel/plugin-proposal-class-properties": "^7.0.0",
    "@babel/plugin-proposal-decorators": "^7.0.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
    "@babel/plugin-syntax-dynamic-import": "^7.0.0",
    "@babel/plugin-transform-react-inline-elements": "^7.0.0",
    "@babel/plugin-transform-react-jsx-self": "^7.0.0",
    "@babel/plugin-transform-react-jsx-source": "^7.0.0",
    "@babel/plugin-transform-runtime": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/runtime": "^7.0.0",
40
    "array-includes": "^3.0.3",
41
    "autoprefixer": "^8.6.5",
42
    "axios": "~0.16.2",
43 44
    "babel-core": "^7.0.0-bridge.0",
    "babel-loader": "^8.0.2",
45
    "babel-plugin-lodash": "^3.3.4",
46 47 48
    "babel-plugin-preval": "^3.0.1",
    "babel-plugin-react-intl": "^3.0.0",
    "babel-plugin-transform-react-remove-prop-types": "^0.4.15",
49
    "classnames": "^2.2.5",
50
    "compression-webpack-plugin": "^2.0.0",
51
    "cross-env": "^5.1.4",
52
    "css-loader": "^1.0.0",
53
    "detect-passive-events": "^1.0.2",
54
    "dotenv": "^4.0.0",
55
    "emoji-mart": "Gargron/emoji-mart#build",
56
    "es6-symbol": "^3.1.1",
57
    "escape-html": "^1.0.3",
58
    "exif-js": "^2.3.0",
59
    "express": "^4.16.2",
60
    "file-loader": "^2.0.0",
61
    "font-awesome": "^4.7.0",
62
    "glob": "^7.1.1",
63
    "history": "^4.7.2",
64
    "http-link-header": "^0.8.0",
65
    "immutable": "^3.8.2",
Akihiko Odaki's avatar
Akihiko Odaki committed
66
    "imports-loader": "^0.8.0",
67
    "intersection-observer": "^0.5.0",
68
    "intl": "^1.2.5",
69
    "intl-messageformat": "^2.2.0",
70
    "intl-relativeformat": "^2.1.0",
71
    "is-nan": "^1.2.1",
72 73
    "js-yaml": "^3.11.0",
    "lodash": "^4.17.5",
74 75
    "mark-loader": "^0.1.6",
    "marky": "^1.2.0",
76
    "mini-css-extract-plugin": "^0.4.2",
77
    "mkdirp": "^0.5.1",
78
    "node-sass": "^4.9.2",
79
    "npm-run-all": "^4.1.2",
80
    "npmlog": "^4.1.2",
81
    "object-assign": "^4.1.1",
82
    "object-fit-images": "^3.2.3",
83
    "object.values": "^1.0.4",
84 85
    "offline-plugin": "^5.0.5",
    "path-complete-extname": "^1.0.0",
86
    "pg": "^6.4.0",
87
    "postcss-loader": "^3.0.0",
88
    "postcss-object-fit-images": "^1.1.2",
89 90
    "postcss-smart-import": "^0.7.6",
    "precss": "^3.1.2",
91
    "prop-types": "^15.5.10",
92
    "punycode": "^2.1.0",
93
    "rails-ujs": "^5.2.0",
94 95
    "react": "^16.5.0",
    "react-dom": "^16.5.0",
96
    "react-hotkeys": "^0.10.0",
97
    "react-immutable-proptypes": "^2.1.0",
98
    "react-immutable-pure-component": "^1.1.1",
99
    "react-intl": "^2.4.0",
100
    "react-motion": "^0.5.2",
101
    "react-notification": "^6.8.4",
102
    "react-overlays": "^0.8.3",
103
    "react-redux": "^5.0.4",
104
    "react-redux-loading-bar": "^2.9.3",
105
    "react-router-dom": "^4.1.1",
106
    "react-router-scroll-4": "^1.0.0-beta.1",
107
    "react-sparklines": "^1.7.0",
108
    "react-swipeable-views": "^0.12.17",
109
    "react-textarea-autosize": "^5.2.1",
110 111
    "react-toggle": "^4.0.1",
    "redis": "^2.7.1",
112
    "redux": "^3.7.1",
113
    "redux-immutable": "^4.0.0",
114
    "redux-thunk": "^2.2.0",
115
    "rellax": "^1.6.2",
116
    "requestidlecallback": "^0.3.0",
117
    "reselect": "^3.0.1",
118
    "rimraf": "^2.6.1",
119
    "sass-loader": "^7.0.3",
120
    "stringz": "^0.3.0",
121
    "style-loader": "^0.23.0",
122
    "substring-trie": "^1.0.2",
123
    "throng": "^4.0.0",
124
    "tiny-queue": "^0.2.1",
125
    "uglifyjs-webpack-plugin": "^1.2.7",
126
    "uuid": "^3.1.0",
127
    "uws": "10.148.0",
128
    "webpack": "^4.18.0",
129 130
    "webpack-bundle-analyzer": "^2.13.1",
    "webpack-cli": "^3.0.8",
131
    "webpack-manifest-plugin": "^2.0.4",
132
    "webpack-merge": "^4.1.3",
133
    "websocket.js": "^0.1.12"
134 135
  },
  "devDependencies": {
136 137 138 139
    "babel-eslint": "^9.0.0",
    "babel-jest": "^23.6.0",
    "enzyme": "^3.6.0",
    "enzyme-adapter-react-16": "^1.5.0",
140
    "eslint": "^4.19.1",
141
    "eslint-plugin-import": "^2.8.0",
142 143 144
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-promise": "^3.8.0",
    "eslint-plugin-react": "^7.8.2",
145
    "jest": "^23.6.0",
146
    "raf": "^3.4.0",
147
    "react-intl-translations-manager": "^5.0.3",
148 149
    "react-test-renderer": "^16.5.0",
    "webpack-dev-server": "^3.1.8",
150
    "yargs": "^8.0.2"
151 152
  },
  "optionalDependencies": {
153 154
    "fsevents": "*",
    "node-zopfli": "^2.0.2"
155 156
  }
}