-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
126 lines (126 loc) · 4.26 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
{
"name": "matrix-barcamp-widget",
"description": "A widget for organizing barcamps in matrix chat rooms.",
"author": "Nordeck IT + Consulting GmbH",
"license": "Apache-2.0",
"version": "1.2.0",
"private": true,
"dependencies": {
"@matrix-widget-toolkit/api": "^3.2.2",
"@matrix-widget-toolkit/react": "^1.0.6",
"@matrix-widget-toolkit/semantic-ui": "^1.0.8",
"@react-hookz/web": "^14.2.2",
"@reduxjs/toolkit": "^1.9.3",
"cross-fetch": "^4.0.0",
"i18next": "^23.7.11",
"i18next-chained-backend": "^4.6.2",
"i18next-http-backend": "^2.4.2",
"immer": "^9.0.19",
"joi": "^17.12.1",
"lodash": "^4.17.21",
"loglevel": "^1.9.1",
"luxon": "^3.3.0",
"matrix-widget-api": "^1.1.1",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-focus-lock": "^2.9.6",
"react-focus-on": "^3.9.1",
"react-redux": "^8.0.5",
"react-use": "^17.5.0",
"rfc4648": "^1.5.3",
"rxjs": "^7.8.0",
"semantic-ui-react": "^2.1.5",
"styled-components": "^5.3.6"
},
"engines": {
"node": ">=20.0.0",
"yarn": ">=1.22.1 <2.0.0"
},
"scripts": {
"start": "cross-env HTTPS=true BROWSER=none WDS_SOCKET_PORT=0 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",
"lint": "eslint . --max-warnings=0",
"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,@changesets/cli",
"translate": "i18next \"src/**/*.{ts,tsx}\"",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"prepare": "husky",
"docker:build": "docker build -t matrix-barcamp-widget .",
"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",
"e2e": "playwright test --headed --project=chromium --workers=1 --reporter=dot",
"e2e:all": "yarn playwright test --reporter=dot"
},
"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\""
],
"*.{json,js,jsx,ts,tsx}": [
"bash -c \"yarn translate --fail-on-update\""
],
"*.{yaml,yml,json,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@changesets/cli": "^2.27.1",
"@craco/craco": "^7.1.0",
"@matrix-widget-toolkit/testing": "^2.3.2",
"@playwright/test": "^1.49.1",
"@semantic-ui-react/craco-less": "^3.0.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": "^27.5.2",
"@types/lodash": "^4.14.202",
"@types/luxon": "^3.2.0",
"@types/node": "^20.11.1",
"@types/react": "^17.0.52",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-dom": "^17.0.18",
"@types/react-i18next": "^8.1.0",
"@types/styled-components": "^5.1.26",
"cross-env": "^7.0.3",
"depcheck": "^1.4.7",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-playwright": "^0.12.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^9.1.6",
"i18next-parser": "8.12.0",
"lint-staged": "^15.2.0",
"nanoid": "^3.3.8",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.4",
"react-i18next": "^12.1.4",
"react-scripts": "5.0.1",
"testcontainers": "^10.5.0",
"typescript": "~4.6.4",
"yarn-deduplicate": "^6.0.2"
}
}