-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.94 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 4.94 KB
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
{
"name": "@nordeck/matrix-poll-widget",
"description": "A poll widget for Matrix",
"author": "Nordeck IT + Consulting GmbH",
"license": "Apache-2.0",
"version": "1.6.1",
"private": true,
"type": "module",
"dependencies": {
"@carbon/charts": "^1.6.14",
"@carbon/charts-react": "^1.6.14",
"@carbon/import-once": "^10.7.0",
"@carbon/styles": "^1.75.0",
"@matrix-widget-toolkit/api": "^5.0.3",
"@matrix-widget-toolkit/mui": "^2.2.1",
"@matrix-widget-toolkit/react": "^2.1.1",
"@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": "^2.11.2",
"d3": "^7.8.5",
"i18next": "^23.16.8",
"i18next-browser-languagedetector": "^8.2.1",
"i18next-chained-backend": "^4.6.3",
"i18next-http-backend": "^2.7.3",
"joi": "^17.13.3",
"lodash": "^4.17.23",
"luxon": "^3.5.0",
"matrix-widget-api": "^1.15.0",
"pdfmake": "^0.2.23",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.3.1",
"react-i18next": "^14.1.3",
"react-lines-ellipsis": "^0.15.4",
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.3",
"react-use": "^17.5.0",
"redux": "^5.0.1",
"rxjs": "^7.8.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@eslint/compat": "^1.3.1",
"@eslint/js": "^9.39.2",
"@matrix-widget-toolkit/testing": "^4.0.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/lodash": "^4.17.21",
"@types/luxon": "^3.2.0",
"@types/node": "^20.19.24",
"@types/pdfmake": "^0.2.11",
"@types/react": "^18.3.23",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^18.3.1",
"@types/uuid": "^9.0.7",
"@vitejs/plugin-basic-ssl": "^2.1.4",
"@vitejs/plugin-react-swc": "^4.2.2",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/eslint-plugin": "^1.6.9",
"axe-core": "^4.11.0",
"depcheck": "^1.4.7",
"dotenv-cli": "^7.4.4",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-testing-library": "^7.13.3",
"happy-dom": "^20.0.8",
"husky": "^9.1.7",
"i18next-cli": "^1.20.1",
"lint-staged": "^15.5.2",
"prettier": "^3.8.0",
"prettier-plugin-organize-imports": "^4.1.0",
"sass": "^1.97.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vitest": "^3.2.4",
"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",
"dev": "vite",
"dev:https": "VITE_DEV_SSL=true vite",
"preview": "vite preview",
"preview:https": "VITE_DEV_SSL=true vite preview",
"build": "tsc && vite build",
"test": "vitest",
"test:all": "vitest run --coverage",
"deduplicate": "yarn-deduplicate",
"depcheck": "depcheck --ignores=@types/node,@vitest/coverage-v8,prettier-plugin-organize-imports,typescript,@changesets/cli,sass,@carbon/import-once",
"lint": "eslint .",
"prepare": "husky",
"translate": "i18next-cli extract --sync-primary",
"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 --ci --dry-run\""
]
},
"repository": {
"type": "git",
"url": "https://github.com/nordeck/matrix-poll.git"
},
"bugs": {
"url": "https://github.com/nordeck/matrix-poll/issues"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}