-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.49 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.49 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
{
"name": "trim",
"version": "1.5.2",
"description": "A Spotlight-like launcher for Windows and macOS",
"main": "src/main/main.js",
"scripts": {
"start": "node launch.js",
"dev": "electron .",
"kill": "node scripts/kill.js",
"prepare:python:win": "node scripts/prepareBundledPython.js",
"test": "node --test test/**/*.test.js",
"build": "electron-builder",
"build:win": "node scripts/prepareBundledPython.js && set CSC_IDENTITY_AUTO_DISCOVERY=false&& electron-builder --win",
"build:mac": "node scripts/prepareBundledPython.js && electron-builder --mac"
},
"keywords": [],
"author": "6A31",
"repository": {
"type": "git",
"url": "https://github.com/6A31/TRIM.git"
},
"license": "SEE LICENSE IN LICENSE",
"type": "commonjs",
"dependencies": {
"@google/genai": "^1.48.0",
"electron-updater": "^6.8.3",
"nerdamer": "^1.1.13",
"plotly.js-dist-min": "^3.5.0"
},
"devDependencies": {
"@highlightjs/cdn-assets": "^11.11.1",
"dompurify": "^3.3.3",
"electron": "^41.1.1",
"electron-builder": "^26.8.1",
"highlight.js": "^11.11.1",
"katex": "^0.16.45"
},
"build": {
"appId": "com.trim.launcher",
"productName": "TRIM",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"package.json"
],
"win": {
"target": "nsis",
"icon": "assets/Trim Logo.ico",
"extraResources": [
{
"from": "vendor/python/",
"to": "python/",
"filter": [
"windows-*/**/*"
]
}
],
"artifactName": "${productName}-${version}-Windows.${ext}"
},
"mac": {
"target": "dmg",
"icon": "assets/Trim Logo.icns",
"category": "public.app-category.utilities",
"extendInfo": {
"LSUIElement": true
},
"extraResources": [
{
"from": "vendor/python/",
"to": "python/",
"filter": [
"macos-*/**/*"
]
}
],
"artifactName": "${productName}-${version}-macOS.${ext}"
},
"nsis": {
"oneClick": true,
"perMachine": false,
"installerIcon": "assets/Trim Logo.ico",
"uninstallerIcon": "assets/Trim Logo.ico"
},
"extraResources": [
{
"from": "scripts/",
"to": "scripts/",
"filter": [
"**/*.ps1"
]
}
],
"publish": [
{
"provider": "github",
"owner": "6A31",
"repo": "TRIM"
}
]
}
}