-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.86 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.86 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
{
"name": "seccurity",
"productName": "SECCURITY",
"version": "0.1.0",
"private": true,
"description": "SECCURITY is a Windows desktop workspace for local security operations, tooling, sessions, alerts, and evidence-driven workflows.",
"author": "Carlos Silva <carlos.silva@playti.com.br>",
"homepage": "https://github.com/cepds/seccurity",
"repository": {
"type": "git",
"url": "git+https://github.com/cepds/seccurity.git"
},
"main": "dist-electron/main.js",
"scripts": {
"dev": "concurrently \"vite\" \"tsc -p tsconfig.electron.json --watch\" \"wait-on tcp:5173 dist-electron/main.js && electron .\"",
"build:web": "vite build",
"build:electron": "tsc -p tsconfig.electron.json",
"build": "npm run build:web && npm run build:electron",
"dist": "npm run build && electron-builder",
"dist:win": "npm run build && electron-builder --win",
"sign:local": "powershell -ExecutionPolicy Bypass -File scripts/sign-local.ps1",
"dev:desktop": "npm run dev",
"build:desktop": "npm run build",
"start:desktop": "electron .",
"lint": "eslint .",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"typecheck:electron": "tsc -p tsconfig.electron.json --noEmit",
"rebuild:native": "electron-rebuild -f -w better-sqlite3",
"photos:prepare": "node scripts/prepare-photos.mjs",
"cap:sync": "npm run build:web && npx cap sync",
"cap:add:android": "npm run build:web && npx cap add android",
"cap:add:ios": "npm run build:web && npx cap add ios",
"android:open": "npm run cap:sync && npx cap open android",
"ios:open": "npm run cap:sync && npx cap open ios",
"apk:debug": "npm run cap:sync && powershell -ExecutionPolicy Bypass -File scripts/build-apk.ps1 Debug",
"apk:release": "npm run cap:sync && powershell -ExecutionPolicy Bypass -File scripts/build-apk.ps1 Release",
"postinstall": "npm run rebuild:native"
},
"devDependencies": {
"@capacitor/android": "^8.2.0",
"@capacitor/cli": "^8.2.0",
"@capacitor/core": "^8.2.0",
"@capacitor/ios": "^8.2.0",
"@electron/rebuild": "^4.0.3",
"@eslint/js": "^9.39.4",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.5.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^9.2.1",
"electron": "^41.2.0",
"electron-builder": "^25.1.8",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"prettier": "^3.8.1",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.3",
"wait-on": "^9.0.4"
},
"dependencies": {
"better-sqlite3": "^12.8.0",
"framer-motion": "^12.38.0",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"optionalDependencies": {
"sharp": "^0.34.5"
},
"build": {
"appId": "com.seccurity.desktop",
"productName": "SECCURITY",
"buildVersion": "0.1.0.0",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"copyright": "Copyright (c) 2026 Carlos Silva / Play Tecnologia",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"package.json"
],
"extraResources": [
{
"from": "backend",
"to": "backend"
}
],
"win": {
"icon": "build/icon.ico",
"target": [
"nsis",
"portable"
],
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "${productName}-Portable-${version}.${ext}"
}
}
}