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
|
{
"name": "sophie",
"version": "0.1.0",
"description": "Messaging app built from the ground up with security in mind",
"keywords": [
"messaging",
"app"
],
"author": "Kristóf Marussy <kristof@marussy.com> (https://marussy.com)",
"contributors": [
"Vijay A <vraravam@users.noreply.github.com>"
],
"license": "AGPL-3.0-only",
"repository": "https://gitlab.com/say-hi-to-sophie/sophie",
"private": true,
"engines": {
"node": ">=v16.13"
},
"type": "module",
"main": "packages/main/dist/index.cjs",
"scripts": {
"clean": "rimraf coverage dist packages/*/dist packages/*/*.tsbuildinfo .vite",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:ci": "yarn test --ci --coverage --reporters=default --reporters=jest-junit",
"build": "node scripts/build.js",
"precompile": "cross-env MODE=production yarn run build",
"compile": "yarn precompile && yarn compile:electron-builder",
"compile:electron-builder": "electron-builder build --config .electron-builder.config.cjs --dir",
"watch": "node scripts/watch.js",
"watch:test": "yarn test --watch",
"lint": "yarn types && yarn lint:only",
"lint:ci": "yarn lint:only --format gitlab",
"lint:only": "yarn lint:eslint . --ext .cjs,.js,.jsx,.ts,.tsx",
"lint:precommit": "yarn types && yarn lint:eslint --fix",
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=16384\" eslint",
"typecheck": "yarn types && yarn typecheck:ci",
"typecheck:ci": "yarn workspaces foreach -vp run typecheck:workspace",
"typecheck:workspace": "yarn g:typecheck",
"g:typecheck": "cd $INIT_CWD && tsc",
"types": "yarn workspaces foreach -vpt run types",
"g:types": "cd $INIT_CWD && tsc -b tsconfig.build.json",
"postinstall": "is-ci || simple-git-hooks",
"update-electron-vendors": "node scripts/updateElectronVendors.js",
"main": "yarn workspace @sophie/main",
"preload": "yarn workspace @sophie/preload",
"renderer": "yarn workspace @sophie/renderer",
"service-inject": "yarn workspace @sophie/service-inject",
"service-preload": "yarn workspace @sophie/service-preload",
"service-shared": "yarn workspace @sophie/service-shared",
"shared": "yarn workspace @sophie/shared"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@electron/fuses": "^1.5.0",
"@types/is-ci": "^3.0.0",
"@types/jest": "^27.4.0",
"@types/prettier": "^2.4.3",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@vitejs/plugin-react": "^1.1.4",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"electron": "16.0.7",
"electron-builder": "^22.14.5",
"esbuild": "^0.14.14",
"eslint": "^8.8.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-gitlab": "^3.0.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^40.1.0",
"git-repo-info": "^2.1.1",
"is-ci": "^3.0.1",
"jest": "^27.4.7",
"jest-junit": "^13.0.0",
"nano-staged": "^0.5.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.7.0",
"typescript": "^4.5.5",
"vite": "^2.7.13"
},
"packageManager": "yarn@3.1.1",
"dependencies": {
"preload": "^0.1.0"
}
}
|