forked from jasonzh0/CineScreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.77 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.77 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
{
"name": "cinescreen",
"version": "1.0.4",
"description": "Screen recording software for Mac 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 && npm run build:native",
"build:native": "cd native && chmod +x build.sh && ./build.sh",
"prebuild": "npm run build:native",
"build:main": "tsc --project tsconfig.main.json",
"build:preload": "tsc --project tsconfig.preload.json",
"build:renderer": "vite build",
"start": "electron .",
"package": "rm -rf release && electron-builder",
"package:mac": "rm -rf release && electron-builder --mac",
"clean": "rm -rf release && rm -rf dist"
},
"keywords": [
"screen-recording",
"electron",
"macos"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@electron/notarize": "^3.1.1",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"concurrently": "^8.2.2",
"electron": "^39.2.7",
"electron-builder": "^24.9.1",
"typescript": "^5.3.2",
"vite": "^7.2.7"
},
"dependencies": {
"@ffmpeg/ffmpeg": "^0.12.6",
"@ffmpeg/util": "^0.12.1",
"ffmpeg-static": "^5.2.0",
"mac-screen-capture-permissions": "^2.1.0",
"sharp": "^0.34.5"
},
"build": {
"appId": "com.cinescreen.app",
"productName": "CineScreen",
"afterSign": "build/notarize.js",
"mac": {
"notarize": false,
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"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"
},
"files": [
"dist/**/*",
"node_modules/**/*",
"src/assets/**/*"
],
"extraResources": [
{
"from": "src/assets",
"to": "assets",
"filter": [
"**/*"
]
},
{
"from": "native/mouse-telemetry",
"to": ".",
"filter": [
"mouse-telemetry"
]
}
],
"asarUnpack": [
"node_modules/ffmpeg-static/**/*",
"node_modules/sharp/**/*",
"node_modules/@img/**/*"
],
"directories": {
"output": "release"
}
}
}