-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.74 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
{
"name": "unimo",
"version": "0.0.1",
"main": "dist/main.js",
"type": "module",
"scripts": {
"dev": "npm run build && NODE_ENV=development tsx --env-file=.env scripts/launch.ts",
"start": "npm run build && NODE_ENV=production tsx --env-file=.env scripts/launch.ts",
"test": "npm run build && playwright test",
"lint": "prettier --check 'src/**/*.{ts,json,html}' 'tests/**/*.{ts,html}'",
"format": "prettier --write 'src/**/*.{ts,json,html}' 'tests/**/*.{ts,html}'",
"build:main": "esbuild src/main.ts --bundle --platform=node --packages=external --format=esm --outfile=dist/main.js",
"build:preload": "esbuild src/preload.ts --bundle --platform=node --external:electron --format=cjs --outfile=dist/preload.js",
"build:ui": "cp src/index.html dist/ && mkdir -p dist/ui && esbuild src/ui/renderer.ts --bundle --format=esm --outfile=dist/ui/renderer.js && rm -rf dist/ui/static && cp -r src/ui/static dist/ui/static",
"build": "npm run build:main && npm run build:preload && npm run build:ui",
"app:mac": "npm run build && electron-builder --mac",
"app:win": "npm run build && electron-builder --win",
"app:linux": "npm run build && electron-builder --linux",
"app:all": "npm run build && electron-builder --mac --win --linux",
"prepare": "husky"
},
"devDependencies": {
"@playwright/test": "1.58.2",
"@types/node": "25.5.0",
"@types/ws": "8.18.1",
"electron": "41.0.2",
"electron-builder": "26.8.2",
"esbuild": "0.27.4",
"husky": "9.1.7",
"playwright": "1.58.2",
"prettier": "3.8.1",
"tsx": "4.21.0"
},
"prettier": {
"bracketSpacing": true,
"bracketSameLine": false,
"singleQuote": true,
"semi": true,
"endOfLine": "lf",
"tabWidth": 2,
"trailingComma": "all",
"arrowParens": "avoid",
"printWidth": 120
},
"dependencies": {
"electron-store": "11.0.2",
"get-installed-apps-linux": "1.2.2",
"ws": "8.19.0"
},
"author": "thinking.tools",
"email": "contact@thinking.tools",
"url": "https://github.com/thinking-tools/desktop.unimo",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/thinking-tools/desktop.unimo.git",
"issues": "https://github.com/thinking-tools/desktop.unimo/issues"
},
"build": {
"appId": "app.unimo.desktop",
"productName": "unimo",
"files": [
"dist/**/*",
"assets/**/*"
],
"directories": {
"buildResources": "assets"
},
"mac": {
"target": [
"dmg"
],
"category": "public.app-category.productivity"
},
"win": {
"target": [
"nsis",
"zip"
]
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Productivity"
}
}
}