-
-
Notifications
You must be signed in to change notification settings - Fork 185
/
package.json
83 lines (83 loc) · 2.63 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
{
"name": "twinkle-tray",
"version": "1.6.4",
"description": "Manage the brightness of monitors from your system tray",
"main": "src/electron.js",
"scripts": {
"parcel": "parcel *.html --port 3000 --out-dir build",
"parcel-build": "parcel build *.html --out-dir build --public-url ./ --experimental-scope-hoisting",
"electron-build": "electron-builder",
"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": "ISC",
"dependencies": {
"@hensm/ddcci": "file:modules/node-ddcci",
"color": "^3.1.2",
"electron-is-dev": "1.0.1",
"electron-winstore-auto-launch": "^2.0.3",
"react": "16.9.0",
"react-dom": "16.9.0",
"regedit": "^3.0.3",
"wmi-client": "^0.5.0"
},
"build": {
"productName": "Twinkle Tray",
"appId": "com.xanderfrangos.twinkle-tray",
"directories": {
"buildResources": "resources"
},
"files": [
"src/electron.js",
"src/preload.js",
"src/settings-preload.js",
"src/intro-preload.js",
"src/assets/*",
"src/assets/light-theme/*",
"build/**/*"
],
"extraResources": [
"node_modules\\regedit\\vbs\\*"
],
"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": true
}
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"concurrently": "4.1.0",
"cross-env": "5.2.0",
"electron": "7.1.8",
"electron-builder": "21.2.0",
"electron-rebuild": "^1.8.8",
"parcel-bundler": "^1.12.4",
"sass": "^1.24.4",
"wait-on": "3.2.0"
}
}