-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.85 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
{
"name": "smiletron",
"version": "0.9.3",
"description": "",
"main": "./dist/main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "run-s bundle clean:build electron:build",
"build:dev": "run-s bundle:dev clean:build electron:build",
"start": "run-s bundle electron",
"dev": "run-s bundle:dev electron",
"electron": "electron .",
"electron:build": "run-p electron:build:linux electron:build:win electron:build:mac",
"electron:build:linux": "electron-builder build --publish=never --x64 -l AppImage",
"electron:build:win": "electron-builder build --publish=never --x64 -w portable",
"electron:build:mac": "electron-builder build --publish=never --x64 -m zip",
"bundle": "run-s clean:dist webpack copy",
"bundle:dev": "run-s clean:dist webpack:dev copy",
"webpack": "webpack --mode production",
"webpack:dev": "cross-env NODE_ENV=development webpack --mode development",
"copy": "cpx -C \"./src/renderer/**/{*.html,*.css,*.ttf}\" ./dist",
"clean": "run-p clean:dist clean:build",
"clean:dist": "rimraf ./dist",
"clean:build": "rimraf ./build"
},
"build": {
"icon": "./src/assets/icon.png",
"directories": {
"output": "./build"
},
"files": [
"./dist"
],
"extraResources": [
{
"from": "./src/assets",
"to": "assets",
"filter": [
"**/*"
]
}
]
},
"author": "",
"license": "ISC",
"devDependencies": {
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"electron": "^30.0.3",
"electron-builder": "^22.9.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-loader": "^8.0.11",
"typescript": "^4.1.2",
"webpack": "^5.10.2",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"electron-store": "^6.0.1",
"mqtt": "^5.1.2",
"yargs": "^16.2.0"
}
}