-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
153 lines (153 loc) · 5.15 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "@nordeck/matrix-poll-widget",
"description": "A poll widget for Matrix",
"author": "Nordeck IT + Consulting GmbH",
"license": "Apache-2.0",
"version": "1.5.0",
"private": true,
"dependencies": {
"@carbon/charts": "^1.6.14",
"@carbon/charts-react": "^1.6.14",
"@carbon/import-once": "^10.7.0",
"@carbon/styles": "^1.46.0",
"@matrix-widget-toolkit/api": "^3.3.0",
"@matrix-widget-toolkit/mui": "^1.1.5",
"@matrix-widget-toolkit/react": "^1.0.6",
"@mui/icons-material": "^5.15.6",
"@mui/lab": "^5.0.0-alpha.154",
"@mui/material": "^5.14.10",
"@mui/utils": "^5.15.6",
"@reduxjs/toolkit": "^1.9.7",
"d3": "^7.8.5",
"i18next": "^23.7.11",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"joi": "^17.11.0",
"lodash": "^4.17.20",
"luxon": "^3.3.0",
"matrix-widget-api": "^1.6.0",
"pdfmake": "^0.2.9",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-i18next": "^14.0.3",
"react-lines-ellipsis": "^0.15.4",
"react-redux": "^8.1.3",
"react-router-dom": "^6.20.1",
"react-use": "^17.5.0",
"redux": "^4.2.1",
"rxjs": "^7.8.0",
"uuid": "^9.0.1"
},
"resolutions": {
"**/cross-spawn": "^7.0.5",
"**/fork-ts-checker-webpack-plugin": "^6.5.3",
"**/ip": "https://registry.npmjs.org/neoip/-/neoip-2.1.0.tgz",
"**/micromatch": "^4.0.8",
"**/nanoid": "^3.3.8",
"**/path-to-regexp": "^0.1.12",
"**/postcss": "^8.4.49",
"**/resolve-url-loader": "^5.0.0",
"**/semver": "^7.6.3",
"**/@svgr/webpack": "^8.1.0",
"**/webpack": "^5.97.1"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@craco/craco": "^7.1.0",
"@matrix-widget-toolkit/testing": "^2.3.2",
"@testing-library/dom": "^8.20.0",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.9",
"@types/lodash": "^4.14.202",
"@types/luxon": "^3.2.0",
"@types/node": "^20.10.4",
"@types/pdfmake": "^0.2.8",
"@types/react": "^17.0.52",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^17.0.18",
"@types/uuid": "^9.0.7",
"cross-env": "^7.0.3",
"depcheck": "^1.4.7",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-promise": "^6.1.1",
"husky": "^9.0.10",
"i18next-parser": "^9.1.0",
"jest": "^29.7.0",
"jest-axe": "^8.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react-scripts": "5.0.1",
"sass": "^1.57.1",
"typescript": "^5.6.3",
"yarn-deduplicate": "^6.0.2"
},
"engines": {
"node": ">=20",
"yarn": ">=1.22.1 <2.0.0"
},
"scripts": {
"docker": "yarn run docker:build && yarn run docker:run && yarn run docker:remove",
"docker:build": "docker build -t nordeck/matrix-poll-widget .",
"docker:run": "dotenv -- docker run -e REACT_APP_HOME_SERVER_URL -p 3000:8080 --name matrix-poll-widget nordeck/matrix-poll-widget",
"docker:stop": "docker stop matrix-poll-widget",
"docker:remove": "yarn run docker:stop && docker rm -v matrix-poll-widget",
"start": "cross-env HTTPS=true BROWSER=none craco start",
"dev": "cross-env BROWSER=none ESLINT_NO_DEV_ERRORS=true TSC_COMPILE_ON_ERROR=true WDS_SOCKET_PORT=0 craco start",
"build": "cross-env GENERATE_SOURCEMAP=false INLINE_RUNTIME_CHUNK=false craco build",
"test": "craco test",
"test:all": "craco test --coverage --watchAll=false",
"deduplicate": "yarn-deduplicate",
"depcheck": "depcheck --ignores=@types/jest,@types/node,prettier-plugin-organize-imports,typescript,i18next-parser,jest,@testing-library/dom,@changesets/cli,sass,@carbon/import-once",
"lint": "eslint .",
"prepare": "husky",
"translate": "i18next 'src/**/*.{ts,tsx}'",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"generate-disclaimer": "cp LICENSE ./build/LICENSE.txt && cp NOTICE ./build/NOTICE.txt && yarn licenses generate-disclaimer --prod >> ./build/NOTICE.txt && yarn licenses list --prod --json --no-progress > ./build/licenses.json"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn eslint --max-warnings=0",
"bash -c \"yarn tsc --pretty\"",
"prettier --write"
],
"*.{package.json,js,jsx,ts,tsx}": [
"bash -c \"yarn depcheck\""
],
"*.{yaml,yml,json,md,html}": [
"prettier --write"
],
"*.{json,js,jsx,ts,tsx}": [
"bash -c \"yarn translate --fail-on-update\""
]
},
"repository": {
"type": "git",
"url": "https://github.com/nordeck/matrix-poll.git"
},
"bugs": {
"url": "https://github.com/nordeck/matrix-poll/issues"
}
}