-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 4.18 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
124
125
126
127
128
129
130
{
"name": "skc-site",
"version": "1.16.0",
"description": "Website to help duelists.",
"main": "index.js",
"author": "",
"license": "ISC",
"dependencies": {
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@mui/icons-material": "6.3.1",
"@mui/material": "6.3.1",
"@mui/styled-engine-sc": "6.3.1",
"@nivo/pie": "0.88.0",
"axios": "1.7.9",
"entities": "6.0.0",
"lodash.startcase": "4.4.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-markdown": "9.0.3",
"react-router-dom": "7.1.1",
"skc-rcl": "1.2.0",
"styled-components": "5.3.11"
},
"resolutions": {
"d3-color": "3.1.0",
"async": "3.2.6",
"glob-parent": "6.0.2",
"node-forge": "1.3.1",
"nth-check": "2.1.1",
"socket.io-parser": "4.2.4",
"@babel/traverse": "7.26.5",
"postcss": "8.4.49",
"@babel/core": "7.26.0",
"browserslist": "4.24.4",
"react-is": "19.0.0",
"ws": "8.18.0",
"send": "1.1.0",
"cross-spawn": "7.0.6"
},
"scripts": {
"fresh-install": "rm -rf node_modules yarn.lock && yarn install --ignore-optional && npx browserslist@latest --update-db",
"start": "webpack-dev-server --mode development --env dev",
"start:dashboard": "webpack-dashboard -- webpack serve --mode development --env dev",
"build": "webpack --mode production --env dev",
"build:development_remote": "webpack --mode production --env remote-dev",
"build:production": "webpack --mode production --env prod",
"test": "jest --coverage --watchAll",
"ci:test": "jest --ci --coverage --watchAll=false",
"lint": "eslint src --ext .tsx,.ts",
"mutation": "stryker run config/stryker.conf.json",
"aws:check-skc-cloudfront": "aws cloudfront list-distributions | jq '.DistributionList.Items[] | select(.Aliases.Items | contains([\"thesupremekingscastle.com\"])) | {id: .Id, aliases: .Aliases}'",
"deploy:prod": "yarn run build:production; aws s3 rm s3://yugiohsite/ --recursive; aws s3 sync build s3://yugiohsite/ --cache-control max-age=3600; aws cloudfront create-invalidation --distribution-id ${YGO_CLOUDFRONT_PROD} --paths '/*'",
"deploy:dev": "yarn run build:development_remote; aws s3 rm s3://yugiohsitedev/ --recursive; aws s3 sync build s3://yugiohsitedev/ --cache-control max-age=3600; aws cloudfront create-invalidation --distribution-id ${YGO_CLOUDFRONT_DEV} --paths '/*'",
"deploy:ec2-dev": "yarn run build:development_remote; bash deploy.sh ${SKC_SERVER}"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@stryker-mutator/core": "8.7.1",
"@stryker-mutator/jest-runner": "8.7.1",
"@stryker-mutator/typescript-checker": "8.7.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/lodash.startcase": "4.4.9",
"@types/react": "19.0.5",
"@types/react-dom": "19.0.3",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.34",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"babel-loader": "9.2.1",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "12.0.2",
"css-loader": "^7.0.0",
"eslint": "8.57.1",
"eslint-plugin-react": "7.37.3",
"html-webpack-plugin": "5.6.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-normalize": "13.0.1",
"react-test-renderer": "19.0.0",
"style-loader": "^4.0.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"typescript": "5.7.3",
"webpack": "5.97.1",
"webpack-cli": "6.0.1",
"webpack-dashboard": "3.3.8",
"webpack-dev-server": "5.2.0"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"transformIgnorePatterns": [
"node_modules/(?!axios)"
],
"testPathIgnorePatterns": [
"<rootDir>/build/"
],
"coveragePathIgnorePatterns": [
"src/reducers/",
"src/helper/DownstreamServices.ts"
]
}
}