package.json 4.92 KB
Newer Older
1 2
{
  "name": "mastodon",
Morgan Bazalgette's avatar
Morgan Bazalgette committed
3
  "description": "mastodon",
TrashMacNugget's avatar
TrashMacNugget committed
4
  "license": "AGPL-3.0-or-later",
5 6 7
  "engines": {
    "node": ">=6"
  },
8
  "scripts": {
9
    "postversion": "git push --tags",
10 11 12
    "build:development": "cross-env NODE_ENV=development webpack --config config/webpack/development.js",
    "build:production": "cross-env NODE_ENV=production webpack --config config/webpack/production.js",
    "build": "cross-env NODE_ENV=production webpack --config config/webpack/production.js",
13
    "manage:translations": "node ./config/webpack/translationRunner.js",
14
    "dev": "cross-env NODE_ENV=development webpack-dev-server --config config/webpack/development.js --progress --color",
15
    "start": "node ./streaming/index.js",
16
    "test": "npm-run-all test:lint test:jest",
17
    "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ streaming/",
Akihiko Odaki's avatar
Akihiko Odaki committed
18
    "test:jest": "cross-env NODE_ENV=test jest --coverage"
19
  },
20 21 22 23
  "repository": {
    "type": "git",
    "url": "https://github.com/tootsuite/mastodon.git"
  },
24
  "private": true,
25
  "dependencies": {
26
    "array-includes": "^3.0.3",
27 28
    "autoprefixer": "^7.1.6",
    "axios": "~0.16.2",
29
    "babel-core": "^6.25.0",
30
    "babel-loader": "^7.1.1",
31
    "babel-plugin-lodash": "^3.3.2",
32
    "babel-plugin-preval": "^1.6.1",
33
    "babel-plugin-react-intl": "^2.3.1",
34
    "babel-plugin-syntax-dynamic-import": "^6.18.0",
35
    "babel-plugin-transform-class-properties": "^6.24.1",
36
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
37
    "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
38
    "babel-plugin-transform-object-rest-spread": "^6.23.0",
39
    "babel-plugin-transform-react-inline-elements": "^6.22.0",
40 41
    "babel-plugin-transform-react-jsx-self": "^6.22.0",
    "babel-plugin-transform-react-jsx-source": "^6.22.0",
42
    "babel-plugin-transform-react-remove-prop-types": "^0.4.10",
43
    "babel-plugin-transform-runtime": "^6.23.0",
44
    "babel-preset-env": "^1.6.1",
45
    "babel-preset-react": "^6.24.1",
46
    "classnames": "^2.2.5",
47
    "compression-webpack-plugin": "^1.0.1",
48
    "cross-env": "^5.1.1",
49
    "css-loader": "^0.28.4",
50
    "detect-passive-events": "^1.0.2",
Eugen Rochko's avatar
Eugen Rochko committed
51
    "dotenv": "^4.0.0",
52
    "emoji-mart": "Gargron/emoji-mart#build",
53
    "es6-symbol": "^3.1.1",
54
    "escape-html": "^1.0.3",
55
    "express": "^4.16.2",
56
    "extract-text-webpack-plugin": "^3.0.2",
57
    "file-loader": "^0.11.2",
58 59
    "font-awesome": "^4.7.0",
    "glob": "^7.1.1",
60
    "http-link-header": "^0.8.0",
61
    "immutable": "^3.8.2",
Akihiko Odaki's avatar
Akihiko Odaki committed
62
    "imports-loader": "^0.8.0",
63
    "intersection-observer": "^0.5.0",
64
    "intl": "^1.2.5",
65
    "intl-messageformat": "^2.2.0",
66
    "intl-relativeformat": "^2.1.0",
67
    "is-nan": "^1.2.1",
68
    "js-yaml": "^3.9.0",
69
    "lodash": "^4.17.4",
70 71
    "mark-loader": "^0.1.6",
    "marky": "^1.2.0",
72
    "mkdirp": "^0.5.1",
73
    "node-sass": "^4.7.2",
74
    "npm-run-all": "^4.1.2",
75
    "npmlog": "^4.1.2",
76
    "object-assign": "^4.1.1",
77
    "object-fit-images": "^3.2.3",
78
    "object.values": "^1.0.4",
Sorin Davidoi's avatar
Sorin Davidoi committed
79
    "offline-plugin": "^4.8.3",
80
    "path-complete-extname": "^0.1.0",
81
    "pg": "^6.4.0",
82
    "postcss-loader": "^2.0.9",
83
    "postcss-object-fit-images": "^1.1.2",
84
    "postcss-smart-import": "^0.7.5",
85
    "precss": "^2.0.0",
86
    "prop-types": "^15.5.10",
87
    "punycode": "^2.1.0",
88
    "rails-ujs": "^5.1.2",
ThibG's avatar
ThibG committed
89 90
    "react": "^16.3.0",
    "react-dom": "^16.3.0",
91
    "react-hotkeys": "^0.10.0",
92
    "react-immutable-proptypes": "^2.1.0",
93
    "react-immutable-pure-component": "^1.1.1",
94
    "react-intl": "^2.4.0",
95 96 97
    "react-motion": "^0.5.2",
    "react-notification": "^6.8.2",
    "react-overlays": "^0.8.3",
98
    "react-redux": "^5.0.4",
99
    "react-redux-loading-bar": "^2.9.3",
Sorin Davidoi's avatar
Sorin Davidoi committed
100
    "react-router-dom": "^4.1.1",
101
    "react-router-scroll-4": "^1.0.0-beta.1",
Sorin Davidoi's avatar
Sorin Davidoi committed
102
    "react-swipeable-views": "^0.12.3",
103
    "react-textarea-autosize": "^5.2.1",
104 105
    "react-toggle": "^4.0.1",
    "redis": "^2.7.1",
106
    "redux": "^3.7.1",
107
    "redux-immutable": "^4.0.0",
108
    "redux-thunk": "^2.2.0",
109
    "requestidlecallback": "^0.3.0",
110
    "reselect": "^3.0.1",
111
    "resolve-url-loader": "^2.2.0",
112
    "rimraf": "^2.6.1",
113
    "sass-loader": "^6.0.6",
114
    "stringz": "^0.3.0",
115
    "style-loader": "^0.19.0",
116
    "substring-trie": "^1.0.2",
117
    "throng": "^4.0.0",
118
    "tiny-queue": "^0.2.1",
119
    "uuid": "^3.1.0",
120
    "uws": "^8.14.0",
121 122
    "webpack": "^3.9.1",
    "webpack-bundle-analyzer": "^2.9.1",
123
    "webpack-manifest-plugin": "^1.2.1",
124
    "webpack-merge": "^4.1.1",
125
    "websocket.js": "^0.1.12"
126 127
  },
  "devDependencies": {
128
    "babel-eslint": "^8.2.1",
129 130
    "enzyme": "^3.2.0",
    "enzyme-adapter-react-16": "^1.1.0",
131
    "eslint": "^4.15.0",
132
    "eslint-plugin-import": "^2.8.0",
133
    "eslint-plugin-jsx-a11y": "^5.1.1",
134
    "eslint-plugin-promise": "^3.7.0",
135
    "eslint-plugin-react": "^7.5.1",
136 137
    "jest": "^21.2.1",
    "raf": "^3.4.0",
138
    "react-intl-translations-manager": "^5.0.0",
139 140
    "react-test-renderer": "^16.2.0",
    "webpack-dev-server": "^2.9.5",
141
    "yargs": "^8.0.2"
Zac Anger's avatar
Zac Anger committed
142 143
  },
  "optionalDependencies": {
144 145
    "fsevents": "*",
    "node-zopfli": "^2.0.2"
146 147
  }
}