-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.77 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
{
"name": "rmm-hunter",
"version": "0.3.4",
"description": "Windows desktop scanner for unauthorized remote access tools, living-off-the-land traces, and endpoint trust health.",
"main": "gui/main.js",
"author": "Meidie <meidie@mdpstudio.com.au>",
"license": "Apache-2.0",
"private": true,
"homepage": "https://rmmhunter.mdpstudio.com.au",
"repository": {
"type": "git",
"url": "git+https://github.com/MDP-Studio/rmm-hunter.git"
},
"bugs": {
"url": "https://github.com/MDP-Studio/rmm-hunter/issues",
"email": "meidie@mdpstudio.com.au"
},
"scripts": {
"start": "electron .",
"clean": "node scripts/clean-release.js",
"check:js": "node --check gui/main.js && node --check gui/preload.js && node --check gui/renderer.js && node --check gui/scanner-process.js && node --check scripts/build-scanner.js && node --check scripts/clean-release.js",
"test:js": "node --test tests/*.test.js",
"check:py": "python -m py_compile rmm_hunter.py scripts/evaluate_corpus.py && python -m unittest discover -v && python scripts/evaluate_corpus.py --manifest tests/corpus/manifest.json",
"check": "npm run check:js && npm run test:js && npm run check:py",
"test": "python -m unittest discover -v",
"build:scanner": "node scripts/build-scanner.js",
"package:windows": "electron-builder --win --x64 --publish never",
"package:windows:unpacked": "electron-builder --win --x64 --dir --publish never",
"package:windows:from-signed": "electron-builder --win --x64 --prepackaged \"release/win-unpacked\" --publish never",
"dist": "npm run clean && npm run check && npm run build:scanner && electron-builder --win --x64 --publish never",
"dist:dir": "npm run clean && npm run check && npm run build:scanner && electron-builder --win --x64 --dir",
"release:refresh-metadata": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/refresh-update-metadata.ps1 -ReleaseDir release",
"release:verify:artifacts": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/verify-release-artifacts.ps1 -ReleaseDir release",
"release:verify:published": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/verify-published-release.ps1 -Tag v0.3.4",
"release:verify": "npm run check && npm audit --audit-level=moderate"
},
"build": {
"appId": "com.meidie.rmmhunter",
"productName": "RMM Hunter",
"asar": true,
"directories": {
"output": "release"
},
"publish": [
{
"provider": "github",
"owner": "MDP-Studio",
"repo": "rmm-hunter"
}
],
"files": [
"gui/**/*",
"rmm_hunter.py",
"collect_windows.ps1",
"README.md",
"LICENSE",
"package.json"
],
"extraResources": [
{
"from": "build/scanner/rmm-hunter-cli.exe",
"to": "bin/rmm-hunter-cli.exe"
}
],
"win": {
"icon": "gui/assets/icon.ico",
"signAndEditExecutable": false,
"verifyUpdateCodeSignature": true,
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"requestedExecutionLevel": "asInvoker"
},
"nsis": {
"artifactName": "RMM-Hunter-Setup-${version}-${arch}.${ext}",
"include": "installer/rmm-hunter-installer.nsh",
"oneClick": false,
"perMachine": false,
"allowElevation": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"portable": {
"artifactName": "RMM-Hunter-Portable-${version}-${arch}.${ext}"
}
},
"devDependencies": {
"electron": "42.0.0",
"electron-builder": "^26.8.1"
},
"dependencies": {
"electron-updater": "^6.8.3"
}
}