-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 4.7 KB
/
Copy pathpackage.json
File metadata and controls
161 lines (161 loc) · 4.7 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "openstudy",
"version": "0.3.3",
"description": "Markdown-first AI study workspace and CLI that turns notes and imported documents into structured questions, deliberate practice, Ask AI, review, and insights",
"license": "MIT",
"author": {
"name": "Freakz2z",
"email": "freak05032@gmail.com"
},
"homepage": "https://github.com/Freakz2z/OpenStudy",
"repository": {
"type": "git",
"url": "https://github.com/Freakz2z/OpenStudy.git"
},
"bugs": {
"url": "https://github.com/Freakz2z/OpenStudy/issues"
},
"main": "out/main/index.js",
"bin": {
"openstudy": "bin/openstudy.mjs"
},
"type": "module",
"scripts": {
"dev": "electron-vite dev",
"build": "npm run build:cli && npm run build:mac-icon && electron-vite build",
"build:cli": "node scripts/build-cli.mjs",
"build:mac-icon": "node scripts/generate-macos-icon.mjs",
"preview": "electron-vite preview",
"start": "electron-vite preview",
"cli": "npm run build:cli && node bin/openstudy.mjs",
"markitdown:install": "npm run build:cli && node bin/openstudy.mjs setup markitdown",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder --publish never",
"dist:mac": "npm run build && electron-builder --mac dmg --arm64 --publish never",
"dist:win": "npm run build && electron-builder --win --publish never",
"dist:linux": "npm run build && electron-builder --linux --publish never",
"artifacts:collect": "node scripts/collect-release-artifacts.mjs",
"docs:screenshots": "node scripts/capture-readme-screenshots.mjs",
"docs:workflow-gif": "node scripts/capture-readme-workflow-gif.mjs",
"test:unit": "vitest run",
"test:e2e": "playwright test",
"test:integration": "electron-vite build && PW_TEST_MODE=electron playwright test tests/integration",
"test": "npm run test:unit && npm run test:e2e",
"postinstall": "electron-rebuild -f -w better-sqlite3 || true",
"prepublishOnly": "npm run build:cli"
},
"files": [
"bin",
"out/cli"
],
"dependencies": {
"better-sqlite3": "^11.3.0",
"electron-store": "^10.0.0",
"i18next": "^26.3.2",
"json5": "^2.2.3",
"jszip": "^3.10.1",
"lucide-react": "^1.21.0",
"mammoth": "^1.8.0",
"pdfjs-dist": "^4.7.76",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^17.0.8",
"react-markdown": "^10.1.0",
"react-router-dom": "^6.27.0",
"remark-gfm": "^4.0.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@playwright/test": "^1.61.1",
"@types/better-sqlite3": "^7.6.11",
"@types/jszip": "^3.4.0",
"@types/node": "^22.7.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"electron": "^32.1.2",
"electron-builder": "^25.0.5",
"electron-rebuild": "^3.2.9",
"electron-vite": "^2.3.0",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"vitest": "^4.1.9"
},
"build": {
"appId": "com.openstudy.app",
"productName": "OpenStudy",
"directories": {
"output": "release/${version}",
"buildResources": "resources"
},
"icon": "public/app_icon.png",
"extraResources": [
{
"from": "public/app_icon.png",
"to": "app_icon.png"
},
{
"from": ".claude/skills/openstudy",
"to": "skills/openstudy"
}
],
"files": [
"out/**/*",
"package.json"
],
"asar": true,
"asarUnpack": [
"**/node_modules/better-sqlite3/**"
],
"mac": {
"category": "public.app-category.education",
"icon": "resources/icon.icns",
"artifactName": "${productName}-${version}-macos-${arch}.${ext}",
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
}
]
},
"win": {
"artifactName": "${productName}-${version}-windows-${arch}-installer.${ext}",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"artifactName": "${productName}-${version}-linux-${arch}.${ext}",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Education"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true
}
}
}