-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 2.96 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "cnc-community-ladder",
"version": "0.1.0",
"private": true,
"author": "Daniel McMahon <daniel40392@gmail.com>",
"bugs": {
"url": "https://github.com/dan-mcm/cnc-community-ladder/issues"
},
"dependencies": {
"apexcharts": "^3.23.1",
"axios": "^0.21.1",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"elo-rating": "^1.0.1",
"express": "^4.17.1",
"gh-pages": "^3.1.0",
"grid-styled": "^5.0.2",
"history": "^4.10.1",
"nodemon": "^2.0.6",
"pg": "^8.5.1",
"prop-types": "^15.7.2",
"react": "^16.10.2",
"react-apexcharts": "^1.3.7",
"react-cookie-banner": "^4.1.0",
"react-dom": "^16.10.2",
"react-dynamic-modal": "^1.1.1",
"react-ga": "^2.7.0",
"react-instagram-embed": "^1.5.0",
"react-js-pagination": "^3.0.2",
"react-modal": "^3.12.1",
"react-router-dom": "^5.1.2",
"react-scripts": "^5.0.1",
"react-slick": "^0.28.0",
"slick-carousel": "^1.8.1",
"styled-components": "^4.4.0",
"utf8": "^3.0.0"
},
"pre-commit": [
"pretify",
"lint",
"test"
],
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "echo Stage 3: Running Tests... 🧪 && react-scripts test --watchAll=false",
"test:coverage": "react-scripts test --coverage",
"eject": "react-scripts eject",
"aws-deploy": "aws s3 sync build/ s3://cnc-community-ladder.info",
"ghpages-predeploy": "yarn run build",
"ghpages-deploy": "gh-pages -d build",
"pretify": "echo Stage 1: Running Pretify...🌸 && prettier --write \"**/*.js\"",
"lint": "echo Stage 2: Running Linter... 💩 && xo --prettier",
"server": "nodemon server.js",
"client": "yarn start",
"dev": "concurrently --kill-others-on-fail \"yarn server\" \"yarn client\""
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint-config-xo-react": "^0.20.0",
"jest": "^28.1.3",
"pre-commit": "^1.2.2",
"prettier": "^2.2.1",
"xo": "^0.51.0"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
}
},
"prettier": {
"bracketSpacing": true,
"singleQuote": true
},
"proxy": "http://localhost:5000",
"xo": {
"env": [
"browser",
"node",
"jest"
],
"extends": [
"xo-react"
],
"plugins": [
"unicorn"
],
"space": 2,
"prettier": true,
"rules": {
"promise/prefer-await-to-then": "off",
"unicorn/filename-case": [
"warn",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
],
"unicorn/regex-shorthand": "off"
}
}
}