forked from sindresorhus/caprine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 2.93 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
{
"name": "caprine",
"productName": "Caprine",
"version": "2.27.1",
"description": "Elegant Facebook Messenger desktop app",
"license": "MIT",
"repository": "sindresorhus/caprine",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "sindresorhus.com"
},
"main": "dist-js",
"engines": {
"node": ">=10"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"lint": "tsc && xo && stylelint '*.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": "^2.0.0",
"electron-updater": "^4.0.6",
"electron-util": "^0.11.0",
"element-ready": "^3.0.0",
"facebook-locales": "^1.0.591"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.2.0",
"@types/electron-is-dev": "^0.3.0",
"@types/electron-store": "^1.3.0",
"@types/element-ready": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^1.1.1",
"del-cli": "^1.1.0",
"electron": "^4.0.3",
"electron-builder": "^20.38.5",
"eslint-config-xo-typescript": "^0.6.0",
"husky": "^1.3.1",
"np": "^4.0.2",
"stylelint": "^9.10.1",
"stylelint-config-xo": "^0.12.0",
"typescript": "^3.2.4",
"xo": "^0.24.0"
},
"xo": {
"extends": "xo-typescript",
"extensions": [
"ts"
],
"envs": [
"node",
"browser"
],
"rules": {
"@typescript-eslint/no-non-null-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"
}
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
}
}