-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 2.4 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
{
"name": "dock-switch",
"version": "1.0.3",
"description": "dock-switch",
"author": "Longbiao CHEN",
"main": "src/main.js",
"bin": {
"dock-switch-cli": "bin/dock-switch-cli.js"
},
"dependencies": {
"bootstrap": "^4.3.1",
"jquery": "^3.5.0",
"popper.js": "^1.15.0"
},
"devDependencies": {
"electron": "39.8.5",
"electron-builder": "26.8.1"
},
"scripts": {
"test": "node --test test/*.test.js && swift test --package-path native/dock-switch-app",
"karabiner:f20": "node scripts/configure-karabiner-f20-shortcuts.js",
"karabiner:f20:check": "node scripts/configure-karabiner-f20-shortcuts.js --check",
"build:settings": "bash scripts/build-settings-app.sh",
"build:native": "bash scripts/build-native-app.sh",
"build:addon": "PYTHON=/usr/bin/python3 node-gyp rebuild --directory native/dock-query --target=$(node -p \"require('electron/package.json').version\") --dist-url=https://electronjs.org/headers",
"go": "yarn build:addon; killall -9 dock-switch; electron .",
"dist": "yarn build:settings && yarn build:native && (killall -9 DockSwitch DockSwitchGokit5Serial dock-switch-runtime dock-switch || true) && rm -rf /Applications/dock-switch.app && cp -Rf dist/native/dock-switch.app /Applications/ && /usr/bin/open -n /Applications/dock-switch.app",
"dist:signed": "yarn build:settings && yarn build:addon && CSC_NAME='Apple Development: LONGBIAO CHEN (YRQ5DV25KM)' electron-builder --mac dir"
},
"license": "MIT",
"build": {
"asar": false,
"appId": "me.longbiaochen.dock-switch",
"mac": {
"category": "macos.utility",
"icon": "build/icon@2x.icns",
"extendInfo": {
"LSUIElement": true,
"NSAppleEventsUsageDescription": "dock-switch needs automation permission to focus and place application windows."
},
"identity": "Apple Development: LONGBIAO CHEN (YRQ5DV25KM)",
"hardenedRuntime": true,
"timestamp": "none",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"target": "dir"
},
"extraResources": [{
"from": "native/settings-app/build/DockSwitchSettings.app",
"to": "DockSwitchSettings.app"
}]
}
}