-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 4.47 KB
/
Copy pathpackage.json
File metadata and controls
161 lines (161 loc) · 4.47 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
{
"name": "Blink1Control2",
"version": "2.4.0",
"author": "ThingM <blink1@thingm.com> (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",
"startdev:linux": "cross-env NODE_ENV=development npm run start:linux",
"start": "electron app",
"start:linux": "electron --no-sandbox app",
"watch": "cross-env NODE_ENV=development webpack-dev-server --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": "npx rimraf app/node_modules node_modules packages/node-blink1-server/node_modules",
"env": "env",
"build:help": "node scripts/build-help.js",
"prewebpack": "npm run build:help",
"postinstall": "electron-builder install-app-deps && npm install --prefix packages/node-blink1-server --no-audit && npm run build:help",
"test": "echo \"tested\""
},
"build": {
"appId": "com.thingm.blink1control2",
"asar": true,
"npmRebuild": true,
"generateUpdatesFilesForAllChannels": false,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"publish": {
"provider": "github"
},
"mac": {
"notarize": true,
"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": {
"icon": "build/icon.png",
"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",
"babel-loader": "^9.0.0",
"bootstrap": "^3.3.6",
"buffer": "^6.0.3",
"create-react-class": "^15.7.0",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.1",
"css-loader": "^7.0.0",
"devtron": "^1.4.0",
"electron": "^41.0.0",
"electron-builder": "^26.8.1",
"events": "^3.3.0",
"font-awesome": "^4.5.0",
"marked": "^18.0.3",
"process": "^0.11.10",
"prop-types": "^15.8.1",
"react": "^18.3.0",
"react-bootstrap": "^0.31.1",
"react-bootstrap-switch": "^3.4.6",
"react-dom": "^18.3.0",
"react-fontawesome": "^0.3.3",
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0",
"style-loader": "^4.0.0",
"webpack": "^5.99.0",
"webpack-cli": "^6.0.0",
"webpack-dev-server": "^4.15.2"
}
}