-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.3 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": "writer",
"private": true,
"version": "0.0.4",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint",
"preview": "vite preview",
"electron:dev": "concurrently -k \"bun run dev\" \"cd backend && bun run index.ts\" \"wait-on http://localhost:5173 http://localhost:3001/health && cross-env ELECTRON_START_URL=http://localhost:5173 electron .\"",
"electron:build": "bun run build && cd backend && bun build --compile index.ts --outfile writerly-api.exe && cd .. && electron-builder",
"electron:pack": "bun run build && cd backend && bun build --compile index.ts --outfile writerly-api.exe && cd .. && electron-builder --dir"
},
"build": {
"appId": "com.writerly.app",
"productName": "Writerly",
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"directories": {
"output": "release"
},
"files": [
"electron/**",
"package.json"
],
"extraResources": [
{
"from": "dist",
"to": "dist"
},
{
"from": "backend/writerly-api.exe",
"to": "backend/writerly-api.exe"
},
{
"from": "backend/schema.sql",
"to": "backend/schema.sql"
}
],
"win": {
"target": "nsis"
},
"mac": {
"target": "dmg"
},
"linux": {
"target": "AppImage"
}
},
"dependencies": {
"@tailwindcss/vite": "^4.3.2",
"@tiptap/extension-placeholder": "^3.27.3",
"@tiptap/extension-text-align": "^3.27.3",
"@tiptap/extension-underline": "^3.27.3",
"@tiptap/pm": "^3.27.3",
"@tiptap/react": "^3.27.3",
"@tiptap/starter-kit": "^3.27.3",
"html2canvas": "^1.4.1",
"jspdf": "^4.2.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tailwindcss": "^4.3.2"
},
"devDependencies": {
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"concurrently": "^10.0.3",
"cross-env": "^10.1.0",
"electron": "^43.1.0",
"electron-builder": "^26.15.3",
"oxlint": "^1.71.0",
"typescript": "~6.0.2",
"vite": "^8.1.1",
"wait-on": "^9.0.10"
}
}