-
Notifications
You must be signed in to change notification settings - Fork 464
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.02 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.02 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
{
"name": "store-pos",
"version": "2.0.0",
"description": "Modern desktop Point of Sale with LAN multi-terminal support",
"author": "Hosting Domain",
"private": true,
"main": "electron/main.js",
"type": "module",
"scripts": {
"dev": "concurrently -k \"vite\" \"wait-on http://127.0.0.1:5173 && electron .\"",
"build": "vite build",
"start": "electron .",
"preview": "vite preview",
"smoke": "node scripts/smoke-api.mjs && node scripts/smoke-lan.mjs",
"dist": "vite build && electron-builder --win"
},
"build": {
"appId": "com.storepos.app",
"productName": "Store POS",
"copyright": "Copyright © Hosting Domain",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"electron/**/*",
"server/**/*",
"build/icon.ico",
"public/favicon.ico",
"package.json"
],
"asarUnpack": [
"**/node_modules/sql.js/**"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico",
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Store POS",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico"
}
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"express": "^4.21.2",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sql.js": "^1.12.0"
},
"devDependencies": {
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"concurrently": "^9.1.2",
"electron": "^33.4.11",
"electron-builder": "^25.1.8",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"wait-on": "^8.0.2"
}
}