File size: 1,233 Bytes
af1bee9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "fpt-desktop",
  "productName": "Patchwise",
  "version": "1.0.0",
  "description": "Windows desktop shell for Patchwise (loads the same web app). Mock app, not Oracle Fusion.",
  "main": "src/main.js",
  "author": "FPT pilot team",
  "license": "UNLICENSED",
  "private": true,
  "scripts": {
    "start": "electron .",
    "dist": "electron-builder --win nsis --x64 --publish never",
    "test": "playwright test -c e2e/playwright.config.js"
  },
  "devDependencies": {
    "@playwright/test": "1.64.0",
    "electron": "^44.7.0",
    "electron-builder": "^26.15.3"
  },
  "build": {
    "appId": "local.fpt.coworker",
    "productName": "Patchwise",
    "directories": { "output": "dist", "buildResources": "build" },
    "files": ["src/**/*", "build/icon.png", "build/icon.ico", "package.json"],
    "win": { "target": [{ "target": "nsis", "arch": ["x64"] }], "icon": "build/icon.ico", "signAndEditExecutable": false },
    "nsis": { "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "createDesktopShortcut": true, "shortcutName": "Patchwise", "installerIcon": "build/icon.ico", "uninstallerIcon": "build/icon.ico" },
    "forceCodeSigning": false
  }
}