-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.14 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
{
"name": "m2_scout",
"version": "0.0.7",
"description": "M2_SCOUT - Node.js/Electron port of M2 SEEK: a ripgrep / fd / cscope GUI search tool",
"main": "src/main/main.js",
"scripts": {
"start": "electron .",
"lint": "node -e \"console.log('no linter configured')\"",
"test": "node --test test/selftest.test.js",
"prepare-tools": "node scripts/prepare-tools.js",
"pack": "node scripts/prepare-tools.js && electron-builder --dir --x64 --arm64",
"dist": "node scripts/prepare-tools.js && electron-builder --win nsis --x64 --publish never && electron-builder --win nsis --arm64 --publish never"
},
"keywords": [
"ripgrep",
"fd",
"cscope",
"search",
"electron",
"code-search"
],
"author": "Powered By OA Hsiao",
"license": "MIT",
"devDependencies": {
"electron": "^31.0.0",
"electron-builder": "^24.13.3"
},
"optionalDependencies": {
"pidusage": "^3.0.2"
},
"build": {
"appId": "com.m2station.m2scout",
"productName": "M2_SCOUT",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"package.json",
"!**/*.map"
],
"extraFiles": [
{
"from": "build/tools/${arch}",
"to": "TOOLS"
},
{
"from": "FONTS",
"to": "FONTS"
},
{
"from": "LOGO",
"to": "LOGO"
},
"M2_SCOUT.ini",
"M2_SCOUT_EXCLUDE_GROUPS.ini",
"M2_SCOUT_HL.ini",
"context-menu.ps1"
],
"win": {
"target": [
{
"target": "nsis"
}
],
"icon": "LOGO/M2_SCOUT.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "M2_SCOUT",
"runAfterFinish": true,
"installerIcon": "LOGO/M2_SCOUT.ico",
"uninstallerIcon": "LOGO/M2_SCOUT.ico",
"installerHeaderIcon": "LOGO/M2_SCOUT.ico",
"artifactName": "${productName}-Setup-${version}-${arch}.${ext}",
"uninstallDisplayName": "${productName} ${version}"
}
}
}