-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2 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
{
"name": "tasmocontrol",
"version": "0.0.3",
"description": "an electron based management application for tasmota devices",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "concurrently \"cd src/public && cross-env BROWSER=none npm start\" \"wait-on tcp:3000 && electron .\"",
"build": "npm i && npm run prefab && npm run build:assets && npm run build:react",
"build:react": "cd src/public && npm i && npm run build",
"build:assets": "icon-gen -i assets/appIcon.svg -o ./assets --icns && xattr -cr assets/appIcon.svg",
"prefab": "node util/prefabCommands.js",
"dist": "npm run clean && npm run build && electron-builder -m",
"clean": "rm -rf node_modules && rm -rf src/public/build/* && rm -rf src/public/node_modules && rm -rf dist && rm -f assets/*.icns"
},
"author": "Michael Ochmann <[email protected]>",
"build": {
"asar": false,
"productName": "Tasmocontrol",
"appId": "eu.massivedynamic.tasmocontrol",
"directories": {
"buildResources": "assets"
},
"files": [
"**/*",
"assets/*.svg",
"package.json"
],
"mac": {
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"icon": "assets/app.icns",
"darkModeSupport": true
},
"dmg": {
"background": "assets/dmg_background.png",
"iconSize": 50,
"contents": [
{
"x": 160,
"y": 315
},
{
"x": 360,
"y": 315,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 540,
"height": 438
}
}
},
"license": "MIT",
"dependencies": {
"axios": "^0.21.1",
"chalk": "^4.1.1",
"lodash": "^4.17.21",
"terminal-in-react": "^4.3.1"
},
"devDependencies": {
"concurrently": "^6.1.0",
"cross-env": "^7.0.3",
"electron": "^12.0.8",
"electron-builder": "^22.10.4",
"icon-gen": "^2.1.0",
"wait-on": "^5.3.0"
}
}