-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 9.47 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 9.47 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
{
"name": "store-master",
"productName": "Store Master",
"version": "0.1.0",
"type": "module",
"packageManager": "npm@10.9.2",
"description": "Store Master desktop application",
"main": "dist/main/bootstrap.js",
"build": {
"win": {
"publish": null
},
"nsis": {
"publish": null
},
"portable": {
"publish": null
}
},
"license": "AGPL-3.0",
"homepage": "https://github.com/HagiCode-org/Store-Master",
"author": {
"name": "newbe36524",
"email": "support@hagicode.com"
},
"scripts": {
"i18n:audit": "hagi18n audit --config hagi18n.yaml",
"i18n:report": "hagi18n report --config hagi18n.yaml",
"i18n:doctor": "hagi18n doctor --config hagi18n.yaml",
"i18n:sync": "hagi18n sync --config hagi18n.yaml --from en-US",
"i18n:sync:write": "hagi18n sync --config hagi18n.yaml --from en-US --write",
"i18n:prune": "hagi18n prune --config hagi18n.yaml --from en-US",
"i18n:prune:write": "hagi18n prune --config hagi18n.yaml --from en-US --write",
"i18n:generate": "node scripts/generate-i18n-resources.mjs",
"prepare:i18n": "npm run i18n:generate",
"i18n:check": "npm run i18n:audit && npm run i18n:doctor && npm run prepare:i18n && node scripts/generate-i18n-resources.mjs --check",
"typecheck:main": "tsc --noEmit -p tsconfig.json",
"typecheck:preload": "tsc --noEmit -p tsconfig.preload.json",
"typecheck:renderer": "tsc --noEmit -p tsconfig.renderer.json",
"build:tsc": "tsc -p tsconfig.json",
"build:tsc:check": "npm run prepare:i18n && npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
"build:preload": "vite build --config vite.preload.config.ts",
"build:renderer": "vite build",
"test:renderer": "vitest run",
"build:all": "npm run build:tsc && npm run build:preload && npm run build:renderer",
"smoke-test": "node scripts/smoke-test.js",
"package:smoke-test": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 node scripts/smoke-test.js",
"package:smoke-test:dir": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_ALLOW_DIR_ONLY=1 node scripts/smoke-test.js",
"package:smoke-test:linux:appimage": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=linux STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=appimage node scripts/smoke-test.js",
"package:smoke-test:linux:deb": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=linux STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=deb node scripts/smoke-test.js",
"package:smoke-test:linux:rpm": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=linux STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=rpm node scripts/smoke-test.js",
"package:smoke-test:linux:tar.gz": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=linux STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=tar.gz node scripts/smoke-test.js",
"package:smoke-test:linux:zip": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=linux STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=zip node scripts/smoke-test.js",
"package:smoke-test:win:portable": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=win32 STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=portable node scripts/smoke-test.js",
"package:smoke-test:win:nsis": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=win32 STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=nsis node scripts/smoke-test.js",
"package:smoke-test:win:msix": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=win32 STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=msix node scripts/smoke-test.js",
"package:smoke-test:mac:dmg": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=darwin STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=dmg node scripts/smoke-test.js",
"package:smoke-test:mac:zip": "cross-env STORE_MASTER_SMOKE_TEST_REQUIRE_PACKAGE=1 STORE_MASTER_SMOKE_TEST_EXPECT_PLATFORM=darwin STORE_MASTER_SMOKE_TEST_EXPECT_TARGET=zip node scripts/smoke-test.js",
"build:prod": "npm run build:tsc:check && npm run build:all && npm run smoke-test",
"build:linux": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets appimage,deb,rpm,tar.gz,zip && npm run package:smoke-test",
"build:linux:dir": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --package-only && npm run package:smoke-test:dir",
"build:linux:appimage": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets appimage && npm run package:smoke-test:linux:appimage",
"build:linux:deb": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets deb && npm run package:smoke-test:linux:deb",
"build:linux:rpm": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets rpm && npm run package:smoke-test:linux:rpm",
"build:linux:tar.gz": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets tar.gz && npm run package:smoke-test:linux:tar.gz",
"build:linux:zip": "npm run build:prod && node scripts/run-electron-forge.js --platform linux --arch x64 --targets zip && npm run package:smoke-test:linux:zip",
"build:win": "npm run build:prod && node scripts/run-electron-forge.js --platform win32 --arch x64 --targets portable,nsis,msix && npm run package:smoke-test",
"build:win:portable": "npm run build:prod && node scripts/run-electron-forge.js --platform win32 --arch x64 --targets portable && npm run package:smoke-test:win:portable",
"build:win:nsis": "npm run build:prod && node scripts/run-electron-forge.js --platform win32 --arch x64 --targets nsis && npm run package:smoke-test:win:nsis",
"build:win:msix": "npm run build:prod && node scripts/run-electron-forge.js --platform win32 --arch x64 --targets msix && npm run package:smoke-test:win:msix",
"build:mac": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch $(node -p \"process.arch\") --targets dmg,zip && npm run package:smoke-test",
"build:mac:x64": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch x64 --targets dmg,zip && npm run package:smoke-test",
"build:mac:arm64": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch arm64 --targets dmg,zip && npm run package:smoke-test",
"build:mac:x64:dmg": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch x64 --targets dmg && npm run package:smoke-test:mac:dmg",
"build:mac:x64:zip": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch x64 --targets zip && npm run package:smoke-test:mac:zip",
"build:mac:arm64:dmg": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch arm64 --targets dmg && npm run package:smoke-test:mac:dmg",
"build:mac:arm64:zip": "npm run build:prod && node scripts/run-electron-forge.js --platform darwin --arch arm64 --targets zip && npm run package:smoke-test:mac:zip",
"prebuild:renderer": "npm run prepare:i18n",
"predev:renderer": "npm run prepare:i18n",
"dev:renderer": "vite --host 127.0.0.1 --port 38659 --strictPort",
"dev:main": "tsc -p tsconfig.json --watch",
"dev:preload": "vite build --config vite.preload.config.ts --watch",
"dev:electron": "wait-on tcp:127.0.0.1:38659 file:dist/preload/index.mjs file:dist/main/bootstrap.js && cross-env NODE_ENV=development electron .",
"dev": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true,force:true})\" && concurrently -k \"npm run dev:renderer\" \"npm run dev:main\" \"npm run dev:preload\" \"npm run dev:electron\"",
"start": "npm run build:all && electron ."
},
"dependencies": {
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.14",
"@reduxjs/toolkit": "^2.11.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"i18next": "^25.6.3",
"lucide-react": "^0.561.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-i18next": "^16.3.5",
"react-markdown": "^10.1.0",
"react-redux": "^9.2.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@electron-addons/electron-forge-maker-nsis": "^7.0.2",
"@electron-forge/cli": "^7.11.2",
"@electron-forge/maker-deb": "^7.11.2",
"@electron-forge/maker-dmg": "^7.11.2",
"@electron-forge/maker-msix": "^7.11.2",
"@electron-forge/maker-rpm": "^7.11.2",
"@electron-forge/maker-zip": "^7.11.2",
"@hagicode/hagi18n": "^0.1.1",
"@rabbitholesyndrome/electron-forge-maker-portable": "^0.2.0",
"@reforged/maker-appimage": "^5.2.0",
"@tailwindcss/vite": "^4.1.18",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.10.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^41.3.0",
"execa": "^9.6.1",
"jsdom": "^27.2.0",
"shadcn": "^3.6.1",
"tailwindcss": "^4.1.18",
"tw-animate-css": "^1.4.0",
"typescript": "^6.0.3",
"vite": "^8.0.10",
"vitest": "^4.0.13",
"wait-on": "^9.0.3"
}
}