-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathpackage.json
107 lines (107 loc) · 3.34 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "webapp",
"description": "This plugin demonstrates the capabilities of a Mattermost plugin.",
"main": "src/index.js",
"scripts": {
"build": "webpack --mode=production",
"build:watch": "webpack --mode=production --watch",
"debug": "webpack --mode=none",
"debug:watch": "webpack --mode=development --watch",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
"test": "jest --forceExit --detectOpenHandles --verbose",
"test:watch": "jest --watch",
"test-ci": "jest --forceExit --detectOpenHandles --maxWorkers=2",
"check-types": "tsc"
},
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/eslint-parser": "7.23.3",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/runtime": "7.23.5",
"@types/enzyme": "3.10.17",
"@types/jest": "29.5.10",
"@types/node": "12.12.24",
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"@types/react-intl": "2.3.18",
"@types/react-redux": "7.1.31",
"@types/react-router-dom": "5.3.3",
"@types/react-transition-group": "4.2.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"babel-plugin-typescript-to-proptypes": "2.1.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"enzyme-to-json": "3.6.2",
"eslint": "7.32.0",
"eslint-import-resolver-webpack": "0.13.8",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-react": "7.33.2",
"file-loader": "6.2.0",
"identity-obj-proxy": "3.0.0",
"jest": "29.7.0",
"jest-canvas-mock": "2.5.2",
"jest-junit": "16.0.0",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"dependencies": {
"core-js": "3.33.3",
"mattermost-redux": "5.33.1",
"react": "^16.14.0",
"react-redux": "8.1.3",
"redux": "4.2.1",
"typescript": "4.6.4"
},
"jest": {
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/non_npm_dependencies/"
],
"clearMocks": true,
"collectCoverageFrom": [
"src/**/*.{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",
"^.*i18n.*\\.(json)$": "<rootDir>/tests/i18n_mock.json",
"^bundle-loader\\?lazy\\!(.*)$": "$1"
},
"moduleDirectories": [
"<rootDir>",
"node_modules",
"non_npm_dependencies"
],
"reporters": [
"default",
"jest-junit"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-router|mattermost-webapp)"
],
"setupFiles": [
"jest-canvas-mock"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
],
"testURL": "http://localhost:8065"
}
}