forked from lacymorrow/crossover
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 6.95 KB
/
package.json
File metadata and controls
192 lines (192 loc) · 6.95 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "crossover",
"productName": "CrossOver",
"appId": "com.lacymorrow.crossover",
"version": "3.1.0",
"description": "A Crosshair Overlay for any screen",
"copyright": "Copyright © Lacy Morrow",
"repository": "lacymorrow/crossover",
"homepage": "https://lacymorrow.github.io/crossover",
"author": {
"name": "Lacy Morrow",
"email": "me@lacymorrow.com",
"url": "https://lacymorrow.com"
},
"company": "Fly5",
"bugs": {
"url": "https://github.com/lacymorrow/crossover/issues"
},
"license": "CC-BY-NC-SA-4.0",
"engines": {
"node": "14.17.4 || 14 || 16"
},
"scripts": {
"install": "yarn css",
"postinstall": "electron-builder install-app-deps",
"css": "sass src/renderer/styles/index.scss:src/renderer/styles/dist/index.css src/renderer/styles/preferences.scss:src/renderer/styles/dist/preferences.css -s compressed",
"start": "yarn css && electron --trace-warnings .",
"watch": "nodemon -e js,ts,scss --ignore 'dist/' --watch . --exec 'yarn start'",
"lint": "eslint --fix .",
"lint:src": "eslint --fix src",
"lint:test": "eslint --fix test",
"test": "playwright test",
"test:verbose": "NODE_ENV=development playwright test",
"test:debug": "PWDEBUG=1 CI=1 playwright test",
"test:debug:console": "PWDEBUG=console CI=1 playwright test",
"check:deps": "depcheck --ignores=bindings,electron-builder-squirrel-windows,electron-reloader,sass --ignore-dirs=build,dist",
"check:circular": "madge --circular .",
"depcheck": "yarn check:deps && yarn check:circular",
"release": "np --branch release && yarn build:release",
"release:snap": "snapcraft upload --release=CrossOver*.snap",
"pack": "rm -f *.tgz && electron-builder --dir",
"sh:copyexe": "cp dist/CrossOver-[!Portable]*.exe dist/CrossOver.exe",
"sh:replacespaces": "find dist/ -name 'CrossOver*' -maxdepth 1 -exec bash -c ' mv \"$0\" \"${0// /-}\" ' {} \\;",
"build": "electron-builder",
"build:all": "electron-builder -mwl --ia32 --x64",
"build:mac": "electron-builder --macos --arm64 --x64",
"build:linux": "electron-builder --linux --ia32 --x64",
"build:windows": "electron-builder --win --ia32 --x64",
"build:windows:appx": "electron-builder --win appx",
"build:windows:exe": "electron-builder -c electron-builder-windows.yaml --win",
"build:wl": "electron-builder -wl --ia32 --x64",
"build:mw": "electron-builder -wm --arm64 --ia32 --x64",
"build:deb": "electron-builder --linux deb",
"build:snap": "electron-builder --linux snap",
"build:release": "rm -rf dist && yarn build:mac && yarn build:wl && yarn build:snap && yarn sh:copyexe",
"build:release:snap": "electron-builder --linux snap && yarn snap:release",
"build:release:windows": "yarn build:windows && yarn sh:copyexe",
"snap:login:export": "snapcraft export-login --snaps crossover --channels edge,stable -",
"snap:release": "snapcraft upload --release=stable dist/*.snap"
},
"dependencies": {
"electron-debug": "^3.0.1",
"electron-log": "^4.4.6",
"electron-preferences": "https://github.com/lacymorrow/electron-preferences#crossover",
"electron-reloader": "^1.2.0",
"electron-unhandled": "^4.0.1",
"electron-updater": "5.0.1",
"electron-util": "^0.17.0",
"electron-winstore-auto-launch": "^2.0.6",
"got": "^12.0.3",
"iohook": "^0.9.3"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@playwright/test": "^1.21.0",
"axe-playwright": "^1.1.11",
"bindings": "^1.5.0",
"depcheck": "^1.4.3",
"electron": "11.5.0",
"electron-builder": "^23.0.3",
"electron-builder-squirrel-windows": "^23.0.6",
"eslint": "^8.12.0",
"eslint-config-xo": "^0.40.0",
"husky": "^7.0.1",
"jimp": "^0.16.1",
"madge": "^5.0.1",
"nodemon": "^2.0.15",
"np": "^7.2.0",
"playwright": "^1.21.0",
"sass": "^1.26.5"
},
"iohook": {
"targets": [
"node-83",
"electron-85"
],
"platforms": [
"win32",
"darwin",
"linux"
],
"arches": [
"x64",
"ia32"
]
},
"np": {
"publish": false,
"releaseDraft": true
},
"build": {
"appId": "com.lacymorrow.crossover",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"copyright": "Copyright © Lacy Morrow",
"publish": "github",
"mac": {
"category": "public.app-category.utilities",
"darkModeSupport": true
},
"dmg": {
"iconSize": 160,
"contents": [
{
"x": 180,
"y": 170
},
{
"x": 480,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"apk",
"deb",
"rpm",
"freebsd",
"pacman",
"rpm"
],
"category": "Game;Shooter"
},
"snap": {
"summary": "🎯 A Crosshair Overlay for any screen.",
"description": "CrossOver allows you to place a customizable crosshair overlay above any application window. Improve your aim and gain a competitive advantage with a permanent colored crosshair to mark center screen.",
"plugs": [
"default",
"removable-media"
],
"publish": [
"github",
"snapStore"
]
},
"win": {
"target": [
"nsis",
"portable"
],
"publish": "github",
"verifyUpdateCodeSignature": false
},
"portable": {
"unicode": false,
"artifactName": "${productName}-Portable-${version}.${ext}"
},
"nsis": {
"unicode": false,
"artifactName": "${productName}-${version}.${ext}"
},
"appx": {
"applicationId": "CrossOverCrosshairOverlay",
"artifactName": "${productName}.${ext}",
"backgroundColor": "#5500ff",
"displayName": "CrossOver: Crosshair Overlay",
"identityName": "2886Fly5.CrossOverCrosshairOverlay",
"publisher": "CN=C53C0091-1EEB-40B4-8537-082E06A4D328",
"publisherDisplayName": "Fly5",
"showNameOnTiles": true
}
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}