forked from sindresorhus/caprine
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 4.11 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
{
"name": "caprine",
"appName": "caprine",
"productName": "Caprine",
"version": "2.60.1",
"description": "Elegant Facebook Messenger desktop app - Legacy OS Builds",
"license": "MIT",
"copyright": "Copyright © 2024 Alex313031",
"repository": "https://github.com/Alex313031/caprine-ng",
"author": {
"name": "Alexander Frick",
"email": "alex313031@gmail.com",
"url": "https://thorium.rocks/win7"
},
"main": "dist-js",
"engines": {
"node": ">=16"
},
"scripts": {
"postinstall": "patch-package && electron-builder install-app-deps",
"lint": "tsc && xo && stylelint \"css/**/*.css\"",
"xo": "xo",
"style": "stylelint \"css/**/*.css\"",
"tsc": "tsc",
"test": "npm run lint",
"e": "electron .",
"start": "tsc && electron .",
"dev": "tsc && electron --enable-logging=file --user-data-dir=./test .",
"build": "npm run lint && electron-builder --dir",
"buildMac": "npm run lint && electron-builder -m --x64 --dir && electron-builder -m --arm64 --dir",
"clean": "rimraf ./dist && rimraf ./dist-js && rimraf ./test && rimraf ./node_modules",
"distclean": "del-cli ./dist && del-cli ./dist-js",
"burn": "rimraf package-lock.json",
"distLinux": "npm run lint && electron-builder -l",
"distWin": "npm run lint && electron-builder -w --x64 && electron-builder -w --ia32",
"distMac": "electron-builder -m --x64 --pd dist/mac && electron-builder -m --arm64 --pd dist/mac-arm64",
"release": "tsc && np --no-publish"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"@sindresorhus/do-not-disturb": "^1.1.0",
"electron-better-ipc": "^2.0.1",
"electron-context-menu": "^3.6.1",
"electron-debug": "^3.2.0",
"electron-dl": "^3.5.2",
"electron-localshortcut": "^3.2.1",
"electron-store": "^8.2.0",
"electron-updater": "^6.1.8",
"electron-util": "^0.17.2",
"element-ready": "^5.0.0",
"facebook-locales": "^1.0.916",
"is-online": "^9.0.1",
"json-schema-typed": "^8.0.1",
"lodash": "^4.17.21",
"npm-check-updates": "^16.14.20",
"p-wait-for": "^3.2.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.7.0",
"@types/electron-localshortcut": "^3.1.3",
"@types/facebook-locales": "^1.0.2",
"@types/lodash": "^4.14.202",
"del-cli": "^5.1.0",
"electron": "^22.3.27",
"electron-builder": "^23.6.0",
"husky": "8.0.3",
"np": "7.7.0",
"patch-package": "^8.0.0",
"rimraf": "^3.0.2",
"stylelint": "^14.16.1",
"stylelint-config-xo": "^0.22.0",
"typescript": "^5.4.5",
"xo": "0.56.0"
},
"xo": {
"envs": [
"node",
"browser"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-loop-func": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"unicorn/prefer-dom-node-text-content": "warn",
"unicorn/prefer-query-selector": "warn",
"unicorn/prefer-string-slice": "warn",
"unicorn/expiring-todo-comments": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-var-requires": "off",
"import/extensions": "off",
"import/no-anonymous-default-export": "off",
"import/no-cycle": "off",
"n/prefer-global/process": "warn",
"object-shorthand": "warn",
"padding-line-between-statements": "warn",
"semi": "warn",
"n/file-extension-in-import": "off",
"unicorn/prefer-at": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-top-level-await": "off"
}
},
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"declaration-no-important": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-max-class": null
}
},
"np": {
"publish": false,
"releaseDraft": false
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
}
}