-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.52 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 4.52 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
{
"name": "edgehog-device-manager-frontend",
"version": "0.13.0",
"bugs": {
"url": "https://github.com/edgehog-device-manager/edgehog/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/edgehog-device-manager/edgehog"
},
"license": "Apache-2.0",
"type": "module",
"dependencies": {
"@eslint/compat": "^2.0.5",
"@formatjs/cli": "^6.14.1",
"@fortawesome/fontawesome-svg-core": "^7.2.0",
"@fortawesome/free-brands-svg-icons": "^7.2.0",
"@fortawesome/free-regular-svg-icons": "^7.2.0",
"@fortawesome/free-solid-svg-icons": "^7.2.0",
"@fortawesome/react-fontawesome": "^3.3.0",
"@hookform/resolvers": "^5.2.2",
"@monaco-editor/react": "^4.7.0",
"@noble/hashes": "^2.0.1",
"@tanstack/react-table": "^8.21.3",
"@types/js-cookie": "^3.0.6",
"@types/leaflet": "^1.9.21",
"@types/lodash": "^4.17.24",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@types/react-relay": "^18.2.1",
"@types/relay-runtime": "^20.1.1",
"@types/semver": "^7.7.1",
"@vitejs/plugin-react": "^5.2.0",
"apexcharts": "^5.10.5",
"bootstrap": "^5.3.8",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"graphql": "^16.13.2",
"history": "^5.3.0",
"js-cookie": "^3.0.5",
"leaflet": "^1.9.4",
"lodash": "^4.18.1",
"lucide-react": "^1.8.0",
"react": "^18.3.1",
"react-apexcharts": "^2.1.0",
"react-bootstrap": "^2.10.10",
"react-dom": "^18.3.1",
"react-error-boundary": "^6.1.1",
"react-hook-form": "^7.72.1",
"react-hyper-tree": "^0.3.12",
"react-intl": "^7.1.14",
"react-leaflet": "^4.2.1",
"react-relay": "^20.1.1",
"react-router-dom": "^7.14.0",
"react-select": "^5.10.2",
"react-tooltip": "^5.30.1",
"relay-compiler": "^20.1.1",
"relay-runtime": "^20.1.1",
"sass": "^1.99.0",
"semver": "^7.7.4",
"shadcn": "^4.2.0",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "^7.3.2",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-relay-lite": "^0.12.0",
"vite-tsconfig-paths": "^6.1.1",
"zod": "^4.3.6"
},
"scripts": {
"init": "npm run relay:compile && npm run i18n:compile",
"start": "vite",
"prestart": "npm run init",
"build": "tsc -p tsconfig.build.json && vite build",
"prebuild": "npm run init",
"preview": "vite preview",
"relay:generate-schema": "cd ../backend && mix absinthe.schema.sdl --schema EdgehogWeb.Schema ../frontend/src/api/schema.graphql",
"relay:compile": "mkdir -p src/api/__generated__ && relay-compiler",
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint --fix src",
"check-lint": "eslint src",
"check-types": "tsc --noEmit -p tsconfig.app.json",
"precheck-types": "npm run init",
"test": "TZ=UTC vitest",
"pretest": "npm run init",
"coverage": "TZ=UTC vitest run --coverage",
"precoverage": "npm run init",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --out-file src/i18n/langs/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"i18n:compile": "formatjs compile-folder src/i18n/langs --ast src/i18n/langs-compiled",
"i18n:check": "node ../tools/langs_updater.js --check ../frontend/src/i18n/langs",
"i18n:reorder": "node ../tools/langs_updater.js --reorder ../frontend/src/i18n/langs",
"i18n:check-paths": "node ../tools/langs_updater.js --check-paths src/i18n/langs"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"overrides": {
"react-error-overlay": "6.1.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/relay-test-utils": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"@vitest/coverage-v8": "^4.1.4",
"baseline-browser-mapping": "^2.10.17",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eslint-plugin-relay": "^2.0.0",
"eslint-plugin-testing-library": "^7.16.2",
"jsdom": "^29.0.2",
"prettier": "^3.8.2",
"react-select-event": "^5.5.1",
"relay-test-utils": "^20.1.1",
"vitest": "^4.1.4"
}
}