-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.05 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
{
"name": "yeelight-tray",
"version": "1.0.0",
"description": "A minimal Electron application written with Typescript",
"engines": {
"node": "^18.16.0"
},
"scripts": {
"build": "esbuild --platform=node --bundle --sourcemap --minify --external:electron --outfile=dist/main.js --define:process.env.commit=\\\"$(git rev-parse --short HEAD)\\\" src/main.ts",
"dev:build": "yarn build --watch --define:process.env.commit=\\\"local\\\"",
"dev:start": "nodemon --exec \"yarn start\" ./dist/main.js",
"dev": "concurrently -k -p \"[{name}]\" -n \"Watch,Start\" \"yarn dev:build\" \"yarn dev:start\"",
"lint": "eslint .",
"start": "electron-forge start",
"build:icons": "electron-icon-builder --flatten --input=./lightbulb.png --output=.",
"package": "yarn build && yarn build:icons && electron-forge package",
"make": "electron-forge make"
},
"main": "./dist/main.js",
"repository": "https://github.com/electron/electron-quick-start-typescript",
"keywords": [
"Electron",
"quick",
"start",
"tutorial",
"demo",
"typescript"
],
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"@electron-forge/cli": "^6.2.1",
"@electron-forge/maker-zip": "^6.2.1",
"@types/ms": "^0.7.31",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"concurrently": "^8.2.0",
"electron": "^25.3.0",
"electron-icon-builder": "^2.0.1",
"esbuild": "^0.18.13",
"eslint": "^8.45.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
},
"dependencies": {
"ms": "^2.1.3",
"polished": "^4.2.2",
"source-map-support": "^0.5.21",
"yeelight-service": "^1.0.2",
"zod": "^3.21.4"
},
"config": {
"forge": {
"packagerConfig": {
"name": "Yeelight Tray",
"executableName": "Yeelight Tray",
"icon": "./icons/icon"
},
"makers": [
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
}
]
}
}
}