forked from sindresorhus/caprine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 3.16 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "caprine",
"productName": "Caprine",
"version": "2.30.2",
"description": "Elegant Facebook Messenger desktop app",
"license": "MIT",
"repository": "sindresorhus/caprine",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"main": "dist-js",
"engines": {
"node": ">=10"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"lint": "tsc && xo && stylelint 'css/*.css'",
"test": "npm run lint",
"start": "tsc && electron .",
"pack": "tsc && electron-builder --dir",
"dist": "tsc && electron-builder --macos --linux --windows",
"release": "np --no-publish && npm run publish-snap",
"publish-snap": "del dist && tsc && electron-builder --linux && snapcraft push --release=stable dist/*.snap"
},
"dependencies": {
"electron-context-menu": "^0.11.0",
"electron-debug": "^2.1.0",
"electron-dl": "^1.13.0",
"electron-is-dev": "^1.0.0",
"electron-log": "^2.0.2",
"electron-store": "^3.0.0",
"electron-updater": "^4.0.6",
"electron-util": "^0.11.0",
"element-ready": "^3.1.0",
"facebook-locales": "^1.0.594",
"is-online": "^8.1.0",
"lodash": "^4.17.11",
"p-wait-for": "^3.0.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.3.0",
"@types/electron-is-dev": "^0.3.0",
"@types/electron-store": "^1.3.1",
"@types/lodash": "^4.14.123",
"@typescript-eslint/eslint-plugin": "^1.5.0",
"del-cli": "^1.1.0",
"electron": "^4.1.3",
"electron-builder": "^20.39.0",
"eslint-config-xo-typescript": "^0.9.0",
"husky": "^1.3.1",
"np": "^4.0.2",
"stylelint": "^9.10.1",
"stylelint-config-xo": "^0.13.0",
"typescript": "^3.4.1",
"xo": "^0.24.0"
},
"xo": {
"extends": "xo-typescript",
"extensions": [
"ts"
],
"envs": [
"node",
"browser"
],
"rules": {
"valid-jsdoc": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off"
},
"prettier": true
},
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"declaration-no-important": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null
}
},
"prettier": {
"printWidth": 100,
"useTabs": true,
"singleQuote": true,
"bracketSpacing": false,
"proseWrap": "never",
"endOfLine": "lf"
},
"build": {
"files": [
"**/*",
"!media${/*}"
],
"appId": "com.sindresorhus.caprine",
"mac": {
"category": "public.app-category.social-networking",
"electronUpdaterCompatibility": ">=2.15.0",
"darkModeSupport": true
},
"dmg": {
"iconSize": 160,
"contents": [
{
"x": 180,
"y": 170
},
{
"x": 480,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb",
"snap"
],
"synopsis": "Elegant Facebook Messenger desktop app",
"description": "Caprine is an unofficial and privacy focused Facebook Messenger app with many useful features.",
"category": "Network;Chat"
},
"snap": {
"plugs": [
"default",
"camera"
]
},
"win": {
"verifyUpdateCodeSignature": false
}
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
}
}