-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 4.99 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 4.99 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
{
"name": "familiar-desktopapp",
"version": "0.0.66",
"description": "Familiar menu bar app shell (macOS)",
"main": "src/main.js",
"scripts": {
"clean": "rimraf dist",
"build:apple-vision-ocr": "bash scripts/build-apple-vision-ocr.sh",
"build:active-window-detector": "bash scripts/build-list-on-screen-apps-helper.sh",
"build:rg-bundle": "bash scripts/build-rg-bundle.sh",
"prestart": "npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run react:build:dashboard",
"pre-dist:mac": "npm run css:build && npm run react:build:dashboard",
"dist:mac": "npm run clean && npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run css:build && electron-builder --mac --arm64 --x64",
"pre-dist:mac:arm64": "npm run css:build && npm run react:build:dashboard",
"dist:mac:arm64": "npm run clean && npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run css:build && electron-builder --mac --arm64",
"pre-dist:mac:x64": "npm run css:build && npm run react:build:dashboard",
"dist:mac:x64": "npm run clean && npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run css:build && electron-builder --mac --x64",
"react:build:dashboard": "esbuild src/dashboard/main.jsx --bundle --format=iife --platform=browser --target=es2020 --define:process.env.NODE_ENV='\"production\"' --outfile=src/dashboard/react-dist/dashboard-react.js",
"react:watch:dashboard": "esbuild src/dashboard/main.jsx --bundle --format=iife --platform=browser --target=es2020 --define:process.env.NODE_ENV='\"development\"' --sourcemap --outfile=src/dashboard/react-dist/dashboard-react.js --watch",
"css": "tailwindcss -i ./src/dashboard/input.css -o ./src/dashboard/styles.css --watch",
"css:build": "tailwindcss -i ./src/dashboard/input.css -o ./src/dashboard/styles.css --minify",
"start": "npm run rebuild:electron && npm run css:build && electron .",
"predev": "npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run react:build:dashboard",
"dev": "npm run rebuild:electron && tailwindcss -i ./src/dashboard/input.css -o ./src/dashboard/styles.css --watch & electron .",
"rebuild:node": "npm rebuild better-sqlite3",
"rebuild:electron": "npm_config_runtime=electron npm_config_target=40.0.0 npm_config_disturl=https://electronjs.org/headers npm rebuild better-sqlite3 --build-from-source",
"test": "npm run rebuild:node && find test -name \"*.test.js\" -not -path \"*/e2e/*\" -print0 | xargs -0 node --test",
"test:unit:timed": "npm run rebuild:node && node scripts/run-unit-tests-with-timeout.js",
"test:e2e": "npm run build:apple-vision-ocr && npm run build:active-window-detector && npm run build:rg-bundle && npm run react:build:dashboard && npm run rebuild:electron && playwright test",
"test:e2e:ui": "playwright test --ui",
"test:all": "npm run test && npm run test:e2e && npm run test:unit:timed"
},
"repository": "https://github.com/familiar-software/familiar",
"keywords": [
"Electron",
"menu bar",
"macOS",
"Familiar"
],
"build": {
"appId": "com.familiar.familiar-desktop",
"productName": "Familiar",
"publish": [
{
"provider": "github",
"owner": "familiar-software",
"repo": "familiar",
"releaseType": "release"
}
],
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"build/**/*",
"package.json"
],
"extraResources": [
{
"from": "scripts/bin/familiar-ocr-helper",
"to": "familiar-ocr-helper"
},
{
"from": "scripts/bin/list-on-screen-apps-helper",
"to": "list-on-screen-apps-helper"
},
{
"from": "scripts/bin/rg",
"to": "rg"
}
],
"mac": {
"target": [
"dmg",
"zip"
],
"minimumSystemVersion": "14.0",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"icon": "build/icon.icns"
},
"dmg": {
"window": {
"width": 650,
"height": 250
},
"contents": [
{
"x": 180,
"y": 170,
"type": "file"
},
{
"x": 380,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
}
},
"author": "Familiar",
"license": "MIT",
"dependencies": {
"better-sqlite3": "^12.6.2",
"electron-log": "^5.3.4",
"electron-updater": "^6.6.2"
},
"devDependencies": {
"@tailwindcss/cli": "^4.1.18",
"esbuild": "^0.25.5",
"electron": "^40.0.0",
"electron-builder": "^26.4.0",
"playwright": "^1.55.0",
"react": "^19.0.1",
"react-dom": "^19.0.1",
"rimraf": "^6.1.2",
"tailwindcss": "^4.1.18"
}
}