forked from Paul-Ladyman/dnd-battle-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.47 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
{
"name": "dnd-battle-tracker",
"version": "5.20.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.7.1",
"@aws-sdk/client-cognito-identity": "^3.181.0",
"aws-appsync-auth-link": "^3.0.7",
"aws-appsync-subscription-link": "3.1.2",
"file-saver": "^2.0.5",
"graphql": "^16.6.0",
"is-hotkey": "^0.2.0",
"nanoid": "^4.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-highlight-words": "^0.18.0",
"react-loader-spinner": "^5.3.4",
"react-modal": "^3.16.1",
"react-responsive": "^9.0.2",
"react-switch": "^7.0.0",
"rodal": "^2.0.1",
"subscriptions-transport-ws": "^0.11.0"
},
"scripts": {
"start": "npm run build:index && webpack serve --mode development --env development",
"build": "npm run build:index && npm run build:react && npm run build:bundle:html",
"build:react": "webpack --mode production",
"build:bundle:html": "node ./scripts/bundle-html.js",
"build:index": "node ./scripts/create-index.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",
"size": "size-limit",
"ts:watch": "tsc --watch"
},
"size-limit": [
{
"limit": "240 kb",
"path": "dist/dnd-battle-tracker.html"
}
],
"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": "jsdom",
"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.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@playwright/test": "^1.28.1",
"@size-limit/preset-app": "^4.9.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/file-saver": "^2.0.5",
"@types/is-hotkey": "^0.1.7",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@types/react-highlight-words": "^0.16.4",
"@types/react-modal": "^3.13.1",
"babel-loader": "^8.2.5",
"buffer": "^6.0.3",
"cross-fetch": "^3.1.5",
"css-loader": "^6.7.2",
"css-minimizer-webpack-plugin": "^4.2.2",
"eslint": "^8.31.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.2.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.2",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.1.2",
"mini-css-extract-plugin": "^2.7.2",
"msw": "^0.47.3",
"mustache": "^4.2.0",
"size-limit": "^4.9.1",
"ts-loader": "^9.4.2",
"typescript": "^5.0.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
}
}