forked from xanderfrangos/twinkle-tray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.29 KB
/
package.json
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
{
"name": "twinkle-tray",
"version": "1.12.0",
"description": "Manage the brightness of monitors from your system tray",
"main": "src/electron.js",
"scripts": {
"parcel": "parcel *.html --port 3000 --out-dir cache",
"parcel-build": "del /q build && parcel build *.html --out-dir build --public-url ./ --experimental-scope-hoisting --no-source-maps",
"electron-build": "electron-builder",
"postinstall": "electron-builder install-app-deps",
"appx": "npm run parcel-build && electron-builder -w appx -c.extraMetadata.name=twinkle-tray-appx -c.win.artifactName=\"${productName} v${version}-store.${ext}\"",
"appx-signed": "npm run parcel-build && electron-builder -w appx -c.win.certificateFile=cert.pfx -c.extraMetadata.name=twinkle-tray-appx -c.win.artifactName=\"${productName} v${version}-signed.${ext}\"",
"rebuild-ddcci-dev": "electron-rebuild -f -w @hensm/ddcci",
"build": "npm run parcel-build && npm run electron-build",
"start": "wait-on http://localhost:3000/index.html && electron . "
},
"keywords": [
"electron",
"react",
"brightness",
"set-brightness",
"windows"
],
"author": "Xander Frangos",
"license": "MIT",
"dependencies": {
"@hensm/ddcci": "file:src/modules/node-ddcci",
"color": "^3.1.2",
"electron-winstore-auto-launch": "^2.0.3",
"global-mouse-events": "^1.0.3",
"markdown-to-jsx": "^6.11.4",
"node-fetch": "^2.6.0",
"regedit": "^3.0.3",
"universal-analytics": "^0.4.23",
"wmi-client": "^0.5.0",
"electron-acrylic-window": "^0.3.0"
},
"build": {
"productName": "Twinkle Tray",
"appId": "com.xanderfrangos.twinkle-tray",
"directories": {
"buildResources": "resources"
},
"files": [
"src/electron.js",
"src/panel-preload.js",
"src/Translate.js",
"src/settings-preload.js",
"src/intro-preload.js",
"src/localization/*",
"src/assets/tray-icons/dark/*",
"src/assets/tray-icons/light/*",
"build/**/*",
"!node_modules/wmi-client/bin",
"!node_modules/@hensm/ddcci/build",
"node_modules/@hensm/ddcci/build/Release/ddcci.node",
"!node_modules/node-addon-api/doc"
],
"extraResources": [
"node_modules\\regedit\\vbs\\*",
"node_modules\\wmi-client\\**\\*",
"!node_modules\\wmi-client\\bin"
],
"win": {
"target": [
"nsis"
],
"artifactName": "${productName} v${version}.${ext}",
"icon": "src/assets/logo.ico",
"publisherName": "Xander Frangos"
},
"appx": {
"publisherDisplayName": "Xander Frangos",
"applicationId": "TwinkleTray",
"displayName": "Twinkle Tray",
"identityName": "38002AlexanderFrangos.TwinkleTray",
"publisher": "CN=B8E9A58B-32A7-4C6C-A474-D4BE2A3CEAD8",
"showNameOnTiles": false,
"backgroundColor": "#6b479c"
}
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"concurrently": "^5.2.0",
"cross-env": "^7.0.2",
"electron": "^8.4.0",
"electron-builder": "^22.7.0",
"electron-is-dev": "^1.2.0",
"parcel-bundler": "^1.12.4",
"react": "^16.13.1",
"react-beautiful-dnd": "^13.0.0",
"react-dom": "16.13.1",
"sass": "^1.26.10",
"wait-on": "4.0.2"
}
}