-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
113 lines (113 loc) · 3.27 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
{
"license": "GPL-3.0",
"name": "captain",
"version": "10.5.0",
"description": "Docker menubar",
"author": {
"name": "Rick Wong",
"email": "[email protected]",
"url": "https://rick.codes"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RickWong/Captain.git"
},
"homepage": "https://github.com/RickWong/Captain",
"keywords": [
"captain",
"menubar",
"mac",
"docker",
"compose"
],
"main": "./build/main.bundle.js",
"scripts": {
"preinstall": "git submodule update --init --recursive",
"postinstall": "electron-builder install-app-deps",
"example": "(cd example && docker-compose up -d)",
"clean": "rm -rf dist/* build/* || true",
"dev": "yarn && env NODE_ENV=development webpack serve --progress --color",
"prettier": "find ./ -type f \\( -iname \\*.js -o -iname \\*.json -o -iname \\*.ts -o -iname \\*.css \\) | grep -v logs/ | grep -v dist/ | grep -v build/ | grep -v node_modules/ | xargs prettier --write",
"typecheck": "tsc --noEmit --pretty",
"build": "yarn && yarn clean && yarn prettier && yarn typecheck && env NODE_ENV=production webpack --progress --color",
"package": "yarn build && node --require dotenv/config ./node_modules/.bin/electron-builder --mac --x64 --arm64 --publish always"
},
"engines": {
"npm": "please-use-yarn",
"yarn": ">= 1.19.1"
},
"prettier": {
"arrowParens": "always",
"endOfLine": "lf",
"trailingComma": "all",
"printWidth": 120
},
"build": {
"productName": "Captain",
"files": [
"./build/",
"./public/",
"!.env"
],
"asar": true,
"mac": {
"forceCodeSigning": true,
"hardenedRuntime": true,
"entitlements": "config/entitlements.mac.plist",
"entitlementsInherit": "config/entitlements.mac.plist",
"icon": "./public/Icon.icns",
"extendInfo": {
"LSUIElement": true
},
"target": [
"dmg",
"zip"
],
"publish": [
"github"
]
},
"afterSign": "config/notarize.js",
"dmg": {
"window": {
"height": 480
}
}
},
"devDependencies": {
"@electron/remote": "^2.1.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@types/debug": "^4.1.12",
"@types/electron": "^1.6.10",
"@types/electron-positioner": "^4.1.4",
"@types/node": "^18.19.28",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.23",
"@types/webpack-env": "^1.18.4",
"auto-launch-patched": "^5.0.2",
"classnames": "^2.5.1",
"css-loader": "^6.10.0",
"debug": "^4.3.4",
"dotenv": "^16.4.5",
"electron": "^19.1.9",
"electron-builder": "^24.13.3",
"electron-notarize": "^1.2.2",
"electron-updater": "^5.0.5",
"html-webpack-plugin": "^5.6.0",
"lodash": "^4.17.21",
"menubar": "^9.4.0",
"nodemon-webpack-plugin": "^4.8.2",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.9",
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"typescript": "^4.9.5",
"webpack": "^5.91.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.2"
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}