forked from timche/gmail-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (123 loc) · 2.92 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
{
"name": "gmail-desktop",
"productName": "Gmail Desktop",
"version": "2.21.1",
"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 -- 'src/**/*.ts'",
"lint": "run-p lint:*",
"lint:ts": "xo",
"lint:css": "stylelint 'css/*.css'",
"start": "tsc && electron .",
"pack": "tsc && electron-builder --dir",
"dist:macos": "electron-builder --macos --universal --publish never",
"dist:others": "electron-builder --linux --windows --publish never",
"dist": "tsc && run-s dist:*"
},
"dependencies": {
"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",
"is-online": "^9.0.0",
"p-wait-for": "^3.2.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.9.0",
"electron": "^12.0.0",
"electron-builder": "^22.10.5",
"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",
"xo": "^0.38.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"xo --fix"
],
"*.css": [
"prettier --write",
"stylelint --fix"
]
},
"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",
"rules": {
"declaration-no-important": null,
"selector-class-pattern": null,
"indentation": 2,
"property-no-vendor-prefix": null,
"no-descending-specificity": null
}
},
"build": {
"artifactName": "${name}-${version}-${os}.${ext}",
"files": [
"**/*",
"./build/**/*"
],
"directories": {
"buildResources": "build"
},
"appId": "io.cheung.gmail-desktop",
"mac": {
"category": "public.app-category.productivity",
"darkModeSupport": false
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm",
"pacman",
"snap",
"tar.bz2"
],
"category": "Network;Office",
"icon": "build/icon.png"
},
"win": {
"verifyUpdateCodeSignature": false,
"target": [
"nsis",
"zip"
]
}
}
}