-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.4 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.4 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
{
"name": "ghostbackup",
"version": "3.4.0",
"description": "SharePoint daily auto-backup system for Red Parrot Accounting",
"author": "Egyan07",
"license": "MIT",
"engines": {
"node": ">=22.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Egyan07/GhostBackup.git"
},
"bugs": {
"url": "https://github.com/Egyan07/GhostBackup/issues"
},
"homepage": "https://github.com/Egyan07/GhostBackup#readme",
"private": true,
"main": "electron/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:react\" \"npm run dev:electron\"",
"dev:react": "vite --port 3000",
"dev:electron": "wait-on http://localhost:3000 && electron . --dev",
"build": "vite build",
"build:electron": "npm run build && electron-builder",
"preview": "vite preview",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\" \"electron/**/*.{js,mjs}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css}\" \"electron/**/*.{js,mjs}\"",
"prepare": "husky",
"typecheck": "tsc --noEmit",
"test": "vitest run --config vite.config.mjs && vitest run --config vitest.electron.config.mjs",
"test:frontend": "vitest run --config vite.config.mjs",
"test:electron": "vitest run --config vitest.electron.config.mjs",
"test:coverage": "vitest run --config vite.config.mjs --coverage",
"test:watch": "vitest"
},
"dependencies": {
"axios": "^1.15.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@testing-library/react": "15.0.7",
"@testing-library/user-event": "14.5.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"@vitest/coverage-v8": "^4.1.2",
"concurrently": "9.0.1",
"electron": "41.1.1",
"electron-builder": "26.8.1",
"eslint": "9.0.0",
"husky": "^9.1.7",
"jsdom": "24.0.0",
"prettier": "^3.8.1",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.8",
"vitest": "^4.1.2",
"wait-on": "8.0.0"
},
"build": {
"appId": "com.redparrot.ghostbackup",
"productName": "GhostBackup",
"copyright": "Red Parrot Accounting",
"icon": "assets/icon.png",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"backend/**/*",
"backend/config/**/*",
"assets/**/*",
"package.json"
],
"extraResources": [
{
"from": "backend",
"to": "backend",
"filter": [
"**/*"
]
},
{
"from": "backend/config",
"to": "config",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
"nsis"
],
"icon": "assets/icon.ico"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "assets/icon.png",
"category": "Utility"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "assets/icon.ico",
"installerHeaderIcon": "assets/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "GhostBackup"
}
},
"overrides": {
"lodash": "4.18.1"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.60.1"
}
}