-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 3.62 KB
/
package.json
File metadata and controls
137 lines (137 loc) · 3.62 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
{
"name": "cinescreen",
"version": "1.3.4",
"description": "Screen recording software with cursor overlay",
"main": "dist/main/main/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:main\" \"npm run dev:preload\" \"npm run dev:renderer\"",
"dev:main": "tsc -w --project tsconfig.main.json",
"dev:preload": "tsc -w --project tsconfig.preload.json",
"dev:renderer": "vite",
"build": "npm run build:main && npm run build:preload && npm run build:renderer",
"build:native": "cd native && chmod +x build.sh && ./build.sh",
"build:main": "tsc --project tsconfig.main.json",
"build:preload": "tsc --project tsconfig.preload.json",
"build:renderer": "vite build",
"start": "electron .",
"package": "electron-builder",
"package:mac": "electron-builder --mac",
"package:win": "electron-builder --win",
"clean": "node -e \"const fs=require('fs');['release','dist'].forEach(d=>{if(fs.existsSync(d))fs.rmSync(d,{recursive:true})})\"",
"prepare": "husky"
},
"keywords": [
"screen-recording",
"electron",
"macos",
"windows"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@electron/notarize": "^3.1.1",
"@tailwindcss/vite": "^4.2.0",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"concurrently": "^9.2.1",
"electron": "^40.4.1",
"electron-builder": "^26.8.1",
"husky": "^9.1.7",
"tailwindcss": "^4.2.0",
"typescript": "^5.9.3",
"vite": "^7.3.1"
},
"dependencies": {
"ffmpeg-static": "^5.3.0",
"koffi": "^2.15.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"sharp": "^0.34.5"
},
"optionalDependencies": {
"mac-screen-capture-permissions": "^3.0.0"
},
"build": {
"appId": "com.cinescreen.app",
"productName": "CineScreen",
"afterSign": "build/notarize.js",
"mac": {
"notarize": false,
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"binaries": [
"node_modules/ffmpeg-static/ffmpeg",
"native/mouse-telemetry",
"native/cursor-control"
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "This app needs microphone access for screen recording with audio.",
"NSHighResolutionCapable": true
},
"icon": "build/icon.png",
"extraResources": [
{
"from": "native/mouse-telemetry",
"to": ".",
"filter": [
"mouse-telemetry"
]
},
{
"from": "native/cursor-control",
"to": ".",
"filter": [
"cursor-control"
]
}
]
},
"win": {
"target": [
"nsis",
"zip"
],
"icon": "build/icon.png"
},
"files": [
"dist/**/*",
"node_modules/**/*",
"src/assets/**/*",
"src/platform/win/scripts/**/*"
],
"extraResources": [
{
"from": "src/assets",
"to": "assets",
"filter": [
"**/*"
]
},
{
"from": "src/platform/win/scripts",
"to": "platform/win/scripts",
"filter": [
"**/*.js"
]
}
],
"asarUnpack": [
"node_modules/ffmpeg-static/**/*",
"node_modules/sharp/**/*",
"node_modules/@img/**/*",
"node_modules/koffi/**/*"
],
"directories": {
"output": "release"
}
}
}