package.json 5.98 KB
Newer Older
1
{
2
  "name": "mattermost-webapp",
3
4
5
  "browser": {
    "./client/web_client.jsx": "./client/browser_web_client.jsx"
  },
6
7
8
  "version": "0.0.1",
  "private": true,
  "dependencies": {
9
    "@babel/polyfill": "7.0.0",
10
    "bootstrap": "3.3.7",
11
    "bootstrap-colorpicker": "2.5.2",
12
    "chart.js": "2.7.2",
13
    "compass-mixins": "0.12.10",
14
    "core-js": "2.5.7",
15
    "exif2css": "1.2.0",
16
    "fastclick": "1.0.6",
17
    "flux": "3.1.3",
18
    "font-awesome": "4.7.0",
19
    "highlight.js": "9.12.0",
20
    "hoist-non-react-statics": "3.0.1",
21
    "html-to-react": "1.3.3",
22
    "inobounce": "0.1.6",
23
    "intl": "1.2.5",
24
    "jasny-bootstrap": "3.1.3",
25
    "jquery": "3.3.1",
26
    "katex": "0.9.0",
27
    "key-mirror": "1.0.1",
28
    "localforage": "1.7.2",
29
    "localforage-observable": "1.4.0",
30
    "marked": "github:mattermost/marked#ed33baecd7d7fa97d479ba22dde9d226b083d67d",
31
    "mattermost-redux": "github:mattermost/mattermost-redux#b593625b0a053a8d248e6aee0f26c735ba4a169b",
32
    "moment-timezone": "0.5.21",
33
    "pdfjs-dist": "2.0.489",
34
    "perfect-scrollbar": "0.8.1",
35
    "prop-types": "15.6.2",
36
    "react": "16.5.2",
37
    "react-addons-pure-render-mixin": "15.6.2",
38
    "react-bootstrap": "0.32.4",
39
    "react-color": "2.14.1",
40
    "react-contextmenu": "2.9.3",
41
    "react-custom-scrollbars": "4.2.1",
42
43
44
    "react-day-picker": "7.2.4",
    "react-dom": "16.5.2",
    "react-intl": "2.7.0",
45
    "react-redux": "5.0.7",
46
    "react-router-dom": "4.3.1",
47
    "react-select": "2.0.0",
48
    "rebound": "0.1.0",
49
    "redux": "4.0.0",
50
    "redux-batched-actions": "0.4.1",
51
    "redux-persist": "4.9.1",
52
    "redux-persist-transform-filter": "0.0.18",
53
    "reselect": "3.0.1",
54
    "superagent": "3.8.3",
55
    "twemoji": "11.0.1",
56
57
    "url-search-params-polyfill": "5.0.0",
    "whatwg-fetch": "3.0.0",
58
59
    "xregexp": "4.2.0",
    "zen-observable": "0.2.1"
60
61
  },
  "devDependencies": {
62
63
64
65
66
67
68
69
70
71
72
    "@babel/cli": "7.1.2",
    "@babel/core": "7.1.2",
    "@babel/plugin-proposal-class-properties": "7.1.0",
    "@babel/plugin-syntax-dynamic-import": "7.0.0",
    "@babel/preset-env": "7.1.0",
    "@babel/preset-react": "7.0.0",
    "@babel/runtime": "7.1.2",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "10.0.1",
    "babel-jest": "23.6.0",
    "babel-loader": "8.0.4",
73
    "bundle-loader": "0.5.6",
74
    "clone": "2.1.2",
75
    "copy-webpack-plugin": "4.5.2",
76
    "cross-env": "5.2.0",
77
    "css-loader": "1.0.0",
78
    "cypress": "3.1.1",
79
80
    "enzyme": "3.6.0",
    "enzyme-adapter-react-16": "1.5.0",
81
    "enzyme-to-json": "3.3.4",
82
    "eslint": "5.6.1",
83
    "eslint-config-mattermost": "github:mattermost/eslint-config-mattermost",
84
    "eslint-import-resolver-webpack": "0.10.1",
85
    "eslint-plugin-cypress": "2.1.2",
86
    "eslint-plugin-header": "2.0.0",
87
88
    "eslint-plugin-import": "2.14.0",
    "eslint-plugin-react": "7.11.1",
89
    "exports-loader": "0.7.0",
90
    "file-loader": "2.0.0",
91
    "html-loader": "0.5.5",
92
    "html-webpack-plugin": "3.2.0",
93
    "identity-obj-proxy": "3.0.0",
94
    "image-webpack-loader": "4.3.1",
95
    "imports-loader": "0.8.0",
96
    "jest": "23.6.0",
97
    "jest-canvas-mock": "1.1.0",
98
    "jest-cli": "23.6.0",
99
    "jest-junit": "^5.1.0",
100
    "jquery-deferred": "0.3.1",
101
    "mini-css-extract-plugin": "0.4.3",
102
    "nightwatch": "0.9.21",
103
    "node-sass": "4.9.3",
104
    "react-router-enzyme-context": "^1.2.0",
105
    "redux-mock-store": "1.5.3",
106
    "redux-persist-node-storage": "2.0.0",
107
108
    "remote-redux-devtools": "0.5.13",
    "sass-loader": "7.1.0",
109
110
111
112
    "selenium-standalone": "6.15.3",
    "style-loader": "0.23.0",
    "webpack": "4.20.2",
    "webpack-cli": "3.1.1",
113
    "webpack-node-externals": "1.7.2",
114
    "webpack-pwa-manifest": "3.7.1",
115
    "yup": "0.24.1"
116
  },
117
118
119
120
121
122
123
124
  "jest": {
    "snapshotSerializers": [
      "<rootDir>/node_modules/enzyme-to-json/serializer"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/non_npm_dependencies/"
    ],
125
    "clearMocks": true,
126
127
128
    "collectCoverageFrom": [
      "actions/**/*.{js,jsx}",
      "client/**/*.{js,jsx}",
129
      "components/**/*.jsx",
130
      "plugins/**/*.{js,jsx}",
131
      "reducers/**/*.{js,jsx}",
132
      "routes/**/*.{js,jsx}",
133
      "selectors/**/*.{js,jsx}",
134
135
136
137
138
139
140
141
142
143
      "stores/**/*.{js,jsx}",
      "utils/**/*.{js,jsx}"
    ],
    "coverageReporters": [
      "lcov",
      "text-summary"
    ],
    "moduleNameMapper": {
      "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",
      "^.+\\.(css|less|scss)$": "identity-obj-proxy",
144
      "^.*i18n.*\\.(json)$": "<rootDir>/tests/i18n_mock.json",
145
      "^bundle-loader\\?lazy\\!(.*)$": "$1"
146
147
148
149
150
151
    },
    "moduleDirectories": [
      "",
      "node_modules",
      "non_npm_dependencies"
    ],
152
153
154
155
    "reporters": [
      "default",
      "jest-junit"
    ],
156
157
    "transformIgnorePatterns": [
      "node_modules/(?!react-native|react-router)"
158
    ],
159
160
161
    "setupFiles": [
      "jest-canvas-mock"
    ],
162
163
    "setupTestFrameworkScriptFile": "<rootDir>/tests/setup.js",
    "testURL": "http://localhost:8065"
164
  },
165
166
167
  "jest-junit": {
    "output": "build/test-results.xml"
  },
168
  "scripts": {
169
    "check": "eslint --ignore-pattern node_modules --ignore-pattern non_npm_dependencies --ignore-pattern dist --ext .js --ext .jsx . --quiet",
170
    "fix": "eslint --ignore-pattern node_modules --ignore-pattern non_npm_dependencies --ignore-pattern dist --ext .js --ext .jsx . --quiet --fix",
171
    "build": "cross-env NODE_ENV=production webpack --display-error-details --verbose",
172
    "run": "cross-env NODE_ENV=production webpack --progress --watch",
173
    "run-fullmap": "webpack --progress --watch",
174
    "test": "jest --forceExit --detectOpenHandles",
175
    "stats": "cross-env NODE_ENV=production webpack --profile --json > webpack_stats.json",
176
    "updatesnapshot": "jest --updateSnapshot",
177
    "test:watch": "jest --watch",
178
    "test:coverage": "jest --coverage",
179
    "test:e2e": "./tests/e2e/test.sh",
180
    "selenium-install": "selenium-standalone install --config=./tests/e2e/config.js",
181
182
183
    "selenium-start": "selenium-standalone start --config=./tests/e2e/config.js",
    "cypress:run": "cypress run",
    "cypress:open": "cypress open"
184
185
  }
}