-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.85 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.85 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
{
"name": "study-notebook",
"version": "1.0.0",
"description": "Aplicativo desktop de anotações com IA e sistema de fontes - Focado em Medicina/Revalida",
"main": "electron/main.js",
"author": "Study Notebook",
"license": "MIT",
"scripts": {
"install:all": "cd backend && npm install && cd ../frontend && npm install",
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\" \"npm run electron:dev\"",
"dev:backend": "cd backend && npm run dev",
"dev:frontend": "cd frontend && npm run dev",
"electron:dev": "wait-on http://localhost:3000 http://localhost:3001 && electron .",
"build": "npm run build:backend && npm run build:frontend",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend && npm run build",
"prebuild": "node scripts/check-build.js",
"package": "npm run build && electron-builder",
"package:win": "npm run build && electron-builder --win --x64",
"package:mac": "npm run build && electron-builder --mac",
"package:linux": "npm run build && electron-builder --linux",
"release:win": "npm run build && electron-builder --win --x64 --publish never",
"clean": "rimraf dist-electron backend/dist frontend/dist"
},
"build": {
"appId": "com.studynotebook.app",
"productName": "Study Notebook",
"copyright": "Copyright © 2024 Study Notebook",
"directories": {
"output": "dist-electron",
"buildResources": "build"
},
"files": [
"electron/**/*",
"backend/dist/**/*",
"backend/node_modules/**/*",
"backend/package.json",
"frontend/dist/**/*",
"!backend/uploads",
"!backend/database.sqlite"
],
"extraResources": [
{
"from": "backend/.env.example",
"to": ".env.example"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico",
"artifactName": "${productName}-Setup-${version}.${ext}",
"publisherName": "Study Notebook",
"verifyUpdateCodeSignature": false,
"sign": null,
"signingHashAlgorithms": []
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Study Notebook",
"license": "LICENSE",
"warningsAsErrors": false,
"deleteAppDataOnUninstall": false,
"runAfterFinish": true,
"menuCategory": true,
"displayLanguageSelector": false,
"installerLanguages": [
"pt_BR",
"en_US"
]
},
"mac": {
"target": [
"dmg"
],
"icon": "build/icon.icns",
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}.${ext}",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "build/icon.png",
"category": "Office",
"artifactName": "${productName}-${version}.${ext}",
"synopsis": "Aplicativo de anotações com IA focado em Medicina/Revalida",
"description": "Study Notebook é um aplicativo desktop de anotações com sistema de fontes (PDF, Web, PubMed, SciELO) e integração com IA para estudantes de medicina."
}
},
"dependencies": {
"electron-store": "^8.1.0"
},
"devDependencies": {
"concurrently": "^8.2.2",
"electron": "^35.7.5",
"electron-builder": "^24.9.1",
"rimraf": "^5.0.5",
"sharp": "^0.34.5",
"wait-on": "^7.2.0"
}
}