-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
190 lines (190 loc) · 6.92 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "opossum-ui",
"description": "The OpossumUI enables the editing of attribution information that is assigned to a resource tree.",
"license": "Apache-2.0",
"version": "0.1.0",
"private": true,
"homepage": "./",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@fontsource-variable/karla": "^5.1.0",
"@mui/icons-material": "^6.1.10",
"@mui/material": "^6.1.10",
"@mui/system": "^6.1.10",
"@reduxjs/toolkit": "^2.4.0",
"@tanstack/react-query": "^5.62.3",
"compare-versions": "^6.1.1",
"dayjs": "^1.11.13",
"electron-log": "^5.2.4",
"electron-settings": "^4.0.4",
"fast-csv": "^5.0.2",
"fflate": "^0.8.2",
"js-yaml": "^4.1.0",
"jsonschema": "^1.4.1",
"lodash": "^4.17.21",
"object-hash": "^3.0.0",
"packageurl-js": "^2.0.1",
"proxy-memoize": "^3.0.1",
"re-resizable": "^6.10.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.1.2",
"react-hot-toast": "^2.4.1",
"react-hotkeys-hook": "^4.6.1",
"react-redux": "^9.1.2",
"react-virtuoso": "4.7.6",
"recharts": "^2.14.1",
"spdx-license-ids": "^3.0.20",
"stream-json": "^1.9.1",
"upath": "^2.0.1",
"uuid": "^11.0.3"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@eslint/compat": "^1.2.4",
"@eslint/js": "^9.16.0",
"@faker-js/faker": "^9.3.0",
"@playwright/test": "^1.49.1",
"@tanstack/eslint-plugin-query": "^5.62.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/babel__core": "^7.20.5",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.1",
"@types/object-hash": "^3.0.6",
"@types/react": "^18.3.14",
"@types/react-dom": "^18.3.3",
"@types/recharts": "^1.8.29",
"@types/stream-json": "^1.7.8",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^4.3.4",
"babel-jest": "^29.7.0",
"babel-plugin-transform-import-meta": "^2.2.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"dpdm": "^3.14.0",
"electron": "33.2.1",
"electron-builder": "^25.1.8",
"electron-playwright-helpers": "^1.7.1",
"eslint": "^9.16.0",
"eslint-plugin-filenames-simple": "^0.9.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-testing-library": "^7.1.1",
"husky": "9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^15.2.10",
"mkdirp": "^3.0.1",
"mockdate": "^3.0.5",
"nunjucks": "^3.2.4",
"prettier": "^3.4.2",
"prettier-plugin-sh": "^0.14.0",
"run-script-os": "^1.1.6",
"start-server-and-test": "^2.0.8",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"unimported": "^1.31.1",
"vite": "^6.0.3",
"vite-plugin-electron": "^0.29.0",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"whatwg-fetch": "^3.6.20"
},
"scripts": {
"start": "run-script-os",
"start:darwin:linux": "tools/start_linux_darwin.sh",
"start:win32": "tools/start_windows.bat",
"build": "yarn generate-notice && vite build && tsc -p src/ElectronBackend",
"circular-import-check": "dpdm src/**/*.ts[x] --circular -T --tree false --warning false --exit-code circular:1",
"typecheck": "tsc -p ./ && tsc --noEmit -p src/ElectronBackend",
"test:unit": "jest",
"test:changed": "jest --onlyChanged",
"test:watch": "jest --watch",
"test:e2e": "start-server-and-test \"tsc -p src/ElectronBackend && vite -m e2e\" http-get://localhost:5173/index.html \"yarn playwright test -c src/e2e-tests/playwright.config.ts\"",
"test:e2e:ci": "yarn playwright test -c src/e2e-tests/playwright.config.ts",
"lint": "eslint \"src/**/*.{ts,tsx}\" --fix",
"lint-check": "eslint \"src/**/*.{ts,tsx}\"",
"lint-commits": "commitlint -f ${TARGET_BRANCH:-origin/main} --verbose",
"format": "prettier --write --ignore-unknown .",
"format-check": "prettier --check --ignore-unknown .",
"copyright-lint-check": "reuse lint",
"unused-check": "unimported",
"update-commit-hash": "run-script-os",
"update-commit-hash:darwin:linux": "COMMIT_INFO=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD); echo \"{\\\"commitInfo\\\" : \\\"$COMMIT_INFO\\\" }\" > \"src/commitInfo.json\"",
"update-commit-hash:win32": "tools/get_app_version_for_windows.bat",
"generate-notice": "mkdirp notices && yarn licenses generate-disclaimer --production > notices/notices.txt && yarn node tools/generateNotices.js",
"ship-linux": "yarn build && electron-builder --linux --x64 --publish never && mkdir -p release/linux && mv 'release/OpossumUI-0.1.0.AppImage' 'release/linux/OpossumUI-for-linux.AppImage'",
"ship-win": "yarn build && electron-builder --win --x64 --publish never && mkdirp release/win && mv \"release/OpossumUI Setup 0.1.0.exe\" \"release/win/OpossumUI-for-win.exe\"",
"ship-mac": "yarn build && electron-builder --mac --x64 --publish never && zip -r -y -q 'release/mac/OpossumUI-for-mac.zip' 'release/mac/'",
"ship": "yarn ship-linux && yarn ship-win && yarn ship-mac",
"ship:auto": "run-script-os",
"ship:auto:darwin": "yarn ship-mac",
"ship:auto:linux": "yarn ship-linux",
"ship:auto:win32": "yarn ship-win",
"clean": "rm -rf ./build/ ./release/",
"postinstall": "husky && yarn update-commit-hash",
"pre-commit": "lint-staged"
},
"main": "build/ElectronBackend/app.js",
"build": {
"productName": "OpossumUI",
"appId": "opossum_ui_electron",
"files": [
"build/**/*",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!build/**/__tests__/**/*"
],
"directories": {
"output": "release"
},
"mac": {
"target": "dmg",
"icon": "public/icons/icon_512x512.png"
},
"win": {
"target": "nsis",
"icon": "public/icons/icon_512x512.png"
},
"linux": {
"target": "AppImage",
"icon": "public/icons/icon_512x512.png"
},
"extraMetadata": {
"main": "build/ElectronBackend/app.js"
},
"extraResources": [
"./notices/**"
]
},
"browserslist": {
"production": [
"Chrome 109"
],
"development": [
"Chrome 109"
]
},
"engines": {
"node": ">=22.0.0"
},
"packageManager": "[email protected]"
}