-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 loc) · 3.04 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
{
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-destructuring": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.8.7",
"@types/react-dom": "^16.8.2",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.0",
"css-loader": "^2.1.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^5.15.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-watch": "^5.0.1",
"jest": "^24.5.0",
"jest-fetch-mock": "^2.1.1",
"node-sass": "^4.11.0",
"prettier": "^1.16.4",
"react-test-renderer": "^16.2.0",
"redux-mock-store": "^1.5.3",
"sass-loader": "^7.1.0",
"style-loader": "0.23.1",
"vinyl-source-stream": "2.0.0",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@material-ui/core": "^3.9.0",
"@material-ui/icons": "^3.0.2",
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"bbcode-to-react": "^0.2.9",
"classnames": "^2.2.6",
"clean-webpack-plugin": "^2.0.0",
"connected-react-router": "^4.4.1",
"history": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.2.0",
"husky": "^1.3.1",
"jwt-decode": "^2.2.0",
"prop-types": "^15.7.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-global-configuration": "^1.2.1",
"react-inline-editing": "^1.0.10",
"react-material-ui-form-validator": "^2.0.1",
"react-redux": "^5.0.6",
"react-router": "^4.3.1",
"react-router-dom": "^4.2.2",
"react-select": "^2.0.0",
"react-timestamp": "^4.3.1",
"react-websocket": "^2.0.0",
"redux": "3.7.2",
"redux-devtools-extension": "^2.13.5",
"redux-thunk": "^2.2.0",
"url-parse": "^1.4.4",
"webpack-merge": "^4.2.1"
},
"scripts": {
"start": "webpack-dev-server --open --config ./webpack/dev.js",
"build": "webpack --config ./webpack/prod.js",
"test": "jest",
"lint": "esw webpack/* src --color",
"lint:watch": "esw webpack/* src --color --watch",
"lint:fix": "esw webpack/* src --color --fix",
"format": "prettier src/**/*.js --write"
},
"jest": {
"automock": false,
"setupFiles": [
"./setupJest.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/reactTests/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/"
},
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/client/src/css/"
]
},
"husky": {
"hooks": {
"pre-push": "yarn format && yarn test && yarn lint --max-warnings=0"
}
}
}