-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.36 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.36 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
{
"name": "mindline",
"productName": "Mindline",
"version": "0.1.0",
"private": true,
"license": "Apache-2.0",
"type": "module",
"main": "dist/main/main/main.js",
"scripts": {
"dev": "concurrently -k \"npm:dev:renderer\" \"npm:dev:main\" \"npm:dev:electron\"",
"dev:renderer": "vite --host 127.0.0.1",
"dev:main": "tsc -p tsconfig.main.json --watch --preserveWatchOutput",
"dev:electron": "wait-on http://127.0.0.1:5173 file:dist/main/main/main.js && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron dist/main/main/main.js",
"clean": "rm -rf dist release",
"build": "rm -rf dist && tsc -p tsconfig.main.json && vite build",
"package:mac": "npm run dist:mac:dir",
"dist:mac": "scripts/dist-mac.sh",
"dist:mac:arm64": "npm run build && electron-builder --mac dmg zip --arm64 --publish never",
"dist:mac:x64": "npm run build && electron-builder --mac dmg zip --x64 --publish never",
"dist:mac:dir": "npm run build && electron-builder --mac --dir --publish never",
"open:mac": "open release/mac-arm64/Mindline.app",
"test": "vitest run",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.main.json"
},
"build": {
"appId": "ai.mindline.desktop",
"productName": "Mindline",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "build/icon.icns",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"target": [
"dmg",
"zip"
]
},
"extraResources": [
{
"from": "build/icon.png",
"to": "icon.png"
}
],
"asar": true
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"lucide-react": "^0.468.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^41.3.0",
"electron-builder": "^26.8.1",
"typescript": "^5.4.5",
"vite": "^8.0.10",
"vitest": "^4.1.5",
"wait-on": "^7.2.0"
}
}