forked from towerwatchman/Atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 6.1 KB
/
Copy pathpackage.json
File metadata and controls
207 lines (207 loc) · 6.1 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
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "atlas",
"version": "0.9.8",
"author": {
"name": "towerwatchman",
"email": "towerwatchman@atlas.com"
},
"description": "Atlas: Open-source game and visual novel manager",
"license": "SEE LICENSE IN LICENSE",
"thirdPartyNotices": {
"note": "Atlas bundles the third-party open-source components listed below. Each remains the property of its respective authors and is used under its stated license. Full license texts are distributed with each package under node_modules. Components with redistribution requirements (LGPL, unRAR, Font Awesome fonts/icons) are called out explicitly.",
"components": [
{
"name": "electron",
"license": "MIT"
},
{
"name": "react",
"license": "MIT"
},
{
"name": "react-dom",
"license": "MIT"
},
{
"name": "react-virtualized",
"license": "MIT"
},
{
"name": "vite",
"license": "MIT"
},
{
"name": "tailwindcss",
"license": "MIT"
},
{
"name": "axios",
"license": "MIT"
},
{
"name": "electron-updater",
"license": "MIT"
},
{
"name": "font-list",
"license": "MIT"
},
{
"name": "ini",
"license": "ISC"
},
{
"name": "lz4js",
"license": "MIT/ISC"
},
{
"name": "sqlite3",
"license": "BSD-3-Clause"
},
{
"name": "sharp",
"license": "Apache-2.0",
"notice": "Bundles libvips (LGPL-3.0). libvips is dynamically linked; its source is available at https://github.com/libvips/libvips."
},
{
"name": "7zip-bin",
"license": "LGPL-2.1-or-later",
"notice": "Bundles 7-Zip binaries. 7-Zip is licensed under the GNU LGPL with an additional unRAR restriction; see https://www.7-zip.org/license.txt."
},
{
"name": "node-unrar-js",
"license": "MIT",
"notice": "Wraps UnRAR. The UnRAR license forbids using the code to reverse-engineer the RAR compression algorithm; see https://www.rarlab.com/license.htm."
},
{
"name": "font-awesome-free",
"license": "CC-BY-4.0 (icons), SIL-OFL-1.1 (fonts), MIT (code)",
"notice": "Font Awesome Free by Fonticons, Inc.; see https://fontawesome.com/license/free."
}
]
},
"main": "electron/main.js",
"scripts": {
"sync:search-fields": "node scripts/sync-search-fields.js",
"dev": "concurrently --kill-others \"vite\" \"wait-on http://localhost:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .\"",
"check": "npm run lint && node scripts/check-js.js && node scripts/check-version-utils.js && node scripts/check-blank-version-repair.js && node scripts/check-gl-infos-parser.js && node scripts/check-format-percent.js && node scripts/check-media-assets.js && node scripts/check-steam-store-assets.js && node scripts/check-steam-local-media-sources.js && node scripts/check-banner-layouts.js && npm run test:run && vite build && git diff --check",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"build": "vite build && electron-builder --win --x64",
"preview": "vite preview",
"publish": "vite build && electron-builder --win --x64 -p always",
"format": "prettier --write \"src/**/*.{js,jsx,css}\" \"electron/**/*.{js,jsx}\"",
"lint": "eslint ."
},
"build": {
"appId": "com.towerwatchman.atlas",
"productName": "Atlas",
"directories": {
"output": "release"
},
"publish": {
"provider": "github",
"owner": "towerwatchman",
"repo": "Atlas",
"releaseType": "release",
"vPrefixedTagName": true
},
"files": [
"electron/**/*",
"dist/renderer/**/*",
"workers/**/*",
"src/assets/ui/**/*",
"package.json"
],
"asar": true,
"asarUnpack": [
"node_modules/**/*.node",
"node_modules/sqlite3/**/*",
"node_modules/sharp/**/*",
"node_modules/@img/**/*",
"node_modules/7zip-bin/**/*",
"node_modules/node-unrar-js/**/*",
"workers/**/*"
],
"nodeGypRebuild": false,
"win": {
"target": [
"nsis"
],
"icon": "src/assets/images/appicon.ico"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": true,
"deleteAppDataOnUninstall": false,
"artifactName": "${productName}-Setup ${version}.${ext}",
"include": "build/installer.nsh",
"installerSidebar": "build/installerSidebar.bmp",
"uninstallerSidebar": "build/installerSidebar.bmp",
"runAfterFinish": true,
"shortcutName": "${productName}",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"allowElevation": true
},
"linux": {
"target": [
"deb",
"AppImage",
"pacman"
],
"icon": "build/icons"
},
"pacman": {
"depends": [
"gtk3",
"nss",
"libxss",
"libnotify",
"alsa-lib"
]
}
},
"dependencies": {
"@vitest/coverage-v8": "^4.1.10",
"7zip-bin": "^5.2.0",
"axios": "^1.7.2",
"dashjs": "^5.2.0",
"electron-updater": "^6.8.3",
"font-list": "^1.5.1",
"ini": "^5.0.0",
"lz4js": "^0.2.0",
"node-unrar-js": "^2.0.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-virtualized": "^9.22.6",
"sharp": "^0.34.5",
"sqlite3": "^6.0.1"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.5.0",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^42.1.0",
"electron-builder": "^26.8.1",
"eslint": "^9.39.5",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.8.0",
"jsdom": "^26.1.0",
"postcss": "^8.5.15",
"prettier": "3.6.2",
"tailwindcss": "^3.4.17",
"vite": "^6.4.3",
"vitest": "^4.1.10",
"wait-on": "^8.0.3",
"ajv": "^8.17.1"
},
"engines": {
"node": ">=22.0.0"
}
}