-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
154 lines (154 loc) · 4.11 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
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
{
"name": "Blink1Control2",
"version": "2.3.0",
"author": "ThingM <[email protected]> (https://blink1.thingm.com/)",
"description": "Blink1Control2 GUI app for blink(1) devices",
"keywords": [
"blink(1)",
"blink1",
"node-hid",
"node-blink1",
"usb",
"hid",
"notification",
"rgb",
"led",
"electron",
"react"
],
"productName": "Blink1Control2",
"companyName": "ThingM",
"homepage": "https://github.com/todbot/Blink1Control2",
"repository": "https://github.com/todbot/Blink1Control2",
"bugs": "https://github.com/todbot/Blink1Control2/issues",
"license": "ISC",
"scripts": {
"startdev": "cross-env NODE_ENV=development npm run start",
"start": "electron app",
"watch": "cross-env NODE_ENV=development webpack-dev-server --port 8080 --hot",
"webpack": "cross-env NODE_ENV=production webpack --mode production",
"pack": "npm run webpack",
"dist:test": "electron-builder --dir",
"dist:draft": "cross-env ELECTRON_SKIP_NOTARIZATION=true electron-builder --publish=never",
"dist:nopub": "electron-builder --publish=never",
"dist": "electron-builder --publish=always",
"release": "electron-builder",
"dist:win32bit": "electron-builder --ia32 --win --publish=never",
"dist:raspi": "electron-builder --dir --armv7l --linux deb --publish=always",
"clean": "rimraf app/node_modules node_modules package-lock.json app/package-lock.json",
"env": "env",
"postinstall": "electron-builder install-app-deps",
"test": "echo \"tested\""
},
"build": {
"appId": "com.thingm.blink1control2",
"asar": true,
"afterSign": "./build/afterSign.js",
"npmRebuild": true,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"publish": {
"provider": "github"
},
"mac": {
"category": "public.app-category.utilities",
"icon": "build/icon.icns",
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "./build/entitlements.mac.inherit.plist",
"entitlementsInherit": "./build/entitlements.mac.inherit.plist",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "build/icon.ico"
},
"dmg": {
"title": "Blink1Control2 Install",
"icon": "build/icon.icns",
"background": "build/background.png",
"contents": [
{
"x": 155,
"y": 140
},
{
"x": 355,
"y": 140,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"category": "Utility",
"target": [
"tar.gz",
"deb",
"appimage"
]
}
},
"browserslist": "electron 3.0",
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@webpack-cli/serve": "^1.7.0",
"babel-loader": "^8.3.0",
"bootstrap": "^3.3.6",
"cross-env": "^7.0.3",
"css-loader": "^2.1.1",
"devtron": "^1.4.0",
"electron": "^18.3.5",
"electron-builder": "^23.0.3",
"electron-notarize": "^1.0.0",
"file-loader": "^3.0.1",
"font-awesome": "^4.5.0",
"json-loader": "^0.5.7",
"node-libs-browser": "^1.0.0",
"raw-loader": "^2.0.0",
"react": "^15.7.0",
"react-bootstrap": "^0.31.1",
"react-bootstrap-switch": "^3.4.6",
"react-dom": "^15.7.0",
"react-fontawesome": "^0.3.3",
"shebang-loader": "0.0.1",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"webpack": "^4.43.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
}
}