-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 1.82 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
{
"name": "fokus",
"version": "1.0.0",
"description": "Fokus is an Electron application designed to help regulate computer and homework time while minimizing distractions.",
"main": "src/main/main.js",
"napi": {
"binaryName": "fokus-native"
},
"scripts": {
"start": "electron .",
"test": "playwright test tests/e2e --workers=1",
"dist": "electron-builder --win",
"dist:mac": "electron-builder --mac",
"build": "npm run build:native",
"build:native": "napi build --platform --release --package bridge --manifest-path src/native/Cargo.toml",
"prestart": "",
"pretest": "",
"predist": ""
},
"build": {
"appId": "com.superfokus.app",
"productName": "SuperFokus",
"directories": {
"output": "dist"
},
"win": {
"target": [
"nsis"
],
"icon": "assets/fokusicon.png"
},
"mac": {
"target": [
"dmg"
],
"icon": "assets/fokusicon.png",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"asar": true,
"asarUnpack": [
"src/main/fokus-sb-helper.js",
"**/*.node"
],
"files": [
"src/**/*",
"assets/**/*",
"index.html",
"package.json",
"*.node"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"devDependencies": {
"@napi-rs/cli": "^3.6.2",
"@playwright/test": "^1.45.3",
"electron": "^30.0.0",
"electron-builder": "^26.8.1"
},
"dependencies": {
"@vscode/sudo-prompt": "^9.3.2",
"chart.js": "^4.5.1",
"electron-store": "^11.0.2",
"fokus-native": "file:."
}
}