-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
package.json
128 lines (128 loc) · 3.14 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "gmail-desktop",
"productName": "Gmail Desktop",
"version": "2.25.3",
"description": "Unofficial Gmail Desktop App",
"private": true,
"repository": "timche/gmail-desktop",
"author": "Tim Cheung <[email protected]>",
"license": "MIT",
"main": "dist-js/app.js",
"scripts": {
"prepare": "husky install",
"postinstall": "electron-builder install-app-deps",
"prettier": "prettier --write",
"prettify": "yarn prettier -- '**/*.{ts,js,css,json}'",
"lint": "run-p lint:*",
"lint:ts": "xo",
"lint:css": "stylelint 'css/*.css'",
"update-user-agents": "node scripts/update-user-agents.js",
"start": "tsc && electron .",
"build:macos": "electron-builder --macos --universal --publish never",
"build:linux": "electron-builder --linux --publish never",
"build:windows": "electron-builder --windows --publish never",
"compile": "tsc",
"build": "run-s compile build:*"
},
"dependencies": {
"darkreader": "^4.9.27",
"electron-context-menu": "^2.5.0",
"electron-debug": "^3.2.0",
"electron-dl": "^3.2.0",
"electron-log": "^4.3.2",
"electron-store": "^7.0.2",
"electron-updater": "^4.3.8",
"electron-util": "^0.14.2",
"element-ready": "^5.0.0",
"got": "^11.8.2",
"p-wait-for": "^3.2.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.9.0",
"electron": "^12.0.0",
"electron-builder": "^22.10.5",
"electron-notarize": "^1.0.0",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"stylelint": "^13.11.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-xo": "^0.20.0",
"typescript": "^4.2.3",
"write-json-file": "^4.3.0",
"xo": "^0.38.2"
},
"lint-staged": {
"*.{ts,js}": [
"xo --fix",
"prettier --write"
],
"*.css": [
"stylelint --fix",
"prettier --write"
]
},
"prettier": {
"bracketSpacing": true,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"xo": {
"envs": [
"node",
"browser"
],
"prettier": true,
"rules": {
"@typescript-eslint/no-floating-promises": "off"
}
},
"stylelint": {
"extends": [
"stylelint-config-xo",
"stylelint-config-prettier"
],
"rules": {
"declaration-no-important": null,
"selector-class-pattern": null,
"property-no-vendor-prefix": null,
"no-descending-specificity": null
}
},
"build": {
"artifactName": "${name}-${version}-${os}.${ext}",
"files": [
"**/*",
"!media${/*}",
"!scripts${/*}"
],
"appId": "io.cheung.gmail-desktop",
"afterSign": "scripts/build-hook-after-sign.js",
"mac": {
"category": "public.app-category.productivity",
"darkModeSupport": true,
"hardenedRuntime": true
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm",
"pacman",
"snap",
"tar.bz2"
],
"category": "Network;Office"
},
"win": {
"verifyUpdateCodeSignature": false,
"target": [
"nsis",
"zip"
]
}
}
}