-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·83 lines (83 loc) · 2 KB
/
package.json
File metadata and controls
executable file
·83 lines (83 loc) · 2 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
{
"name": "mac-screenshot-tool",
"version": "1.0.0",
"description": "Screenshot tool with editing and sharing capabilities",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "node build.js",
"package": "electron-builder",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:mac": "electron-builder --mac"
},
"author": "",
"license": "MIT",
"dependencies": {
"@electron/remote": "^2.1.2",
"axios": "^0.27.2",
"form-data": "^4.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"electron": "^20.0.0",
"electron-builder": "^23.3.3",
"fs-extra": "^11.1.1",
"style-loader": "^3.3.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"build": {
"appId": "com.yourname.screenshottool",
"productName": "Screen Capture",
"asar": false,
"files": [
"src/**/*",
"dist/**/*",
"node_modules/**/*",
"package.json",
"build.js",
"assets/**/*"
],
"extraResources": [
{
"from": "src",
"to": "src"
},
{
"from": "dist",
"to": "dist"
},
{
"from": "assets",
"to": "assets"
}
],
"directories": {
"buildResources": "assets",
"output": "release-builds"
},
"mac": {
"category": "public.app-category.utilities",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"target": [
"dmg"
],
"icon": "assets/icon.icns"
},
"mas": {
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
"provisioningProfile": "build/embedded.provisionprofile"
}
}
}