-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
86 lines (86 loc) · 2.62 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
{
"name": "dnd-battle-tracker",
"version": "5.118.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.12.4",
"@aws-sdk/client-cognito-identity": "^3.632.0",
"aws-appsync-auth-link": "^3.0.7",
"aws-appsync-subscription-link": "3.1.3",
"file-saver": "^2.0.5",
"graphql": "^16.9.0",
"is-hotkey": "^0.2.0",
"nanoid": "^5.0.7",
"react": "^18.2.0",
"react-dom": "^18.3.1",
"subscriptions-transport-ws": "^0.11.0"
},
"scripts": {
"start": "webpack serve --mode development --env development",
"build": "webpack --mode production && node ./scripts/bundle-public.js",
"start:ci": "node ./test/appServer.js",
"test": "jest --watch --testPathIgnorePatterns=/test/e2e.spec.js",
"test:ci": "npx jest --testPathIgnorePatterns=/test/e2e.spec.js",
"test:e2e": "PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 npx playwright test",
"lint": "npx eslint --ext js,jsx src"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"testEnvironment": "<rootDir>/jsdom-extended.js",
"testEnvironmentOptions": {
"customExportConditions": [
""
]
},
"transformIgnorePatterns": [
"/node_modules/(?!(uuid|nanoid)/)"
],
"setupFilesAfterEnv": [
"./jest.setup.js"
]
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.24.6",
"@babel/preset-react": "^7.24.7",
"@playwright/test": "^1.48.2",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"babel-loader": "^9.2.1",
"buffer": "^6.0.3",
"cross-fetch": "^4.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.21.1",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"msw": "^2.3.5",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
}
}