-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.82 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.82 KB
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
{
"name": "lexpatrol",
"version": "1.7.1",
"author": "LexPatrol",
"description": "LexPatrol — локальный справочник норм для роли в государственных службах на RP-серверах (полиция, EMS и др.): база на ПК, поиск, оверлей поверх игры. Не связан с издателями игры или конкретными серверами.",
"main": "out/main/index.js",
"type": "module",
"scripts": {
"dev": "electron-vite dev",
"dev:clean": "node -e \"try{require('fs').rmSync('node_modules/.vite',{recursive:true,force:true})}catch(e){}\" && electron-vite dev",
"build": "electron-vite build",
"build:win": "electron-vite build && node scripts/gen-windows-icon.mjs && electron-builder --win",
"preview": "electron-vite preview",
"postinstall": "electron-builder install-app-deps",
"rebuild:native": "npm rebuild better-sqlite3",
"lint": "npm run typecheck",
"lint:fix": "node -e \"console.log('ESLint is not configured; nothing to auto-fix.'); process.exit(0)\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ci:critical": "vitest run --coverage --config vitest.critical.config.ts",
"test:ci": "vitest run --coverage",
"verify": "npm run lint && npm run test:ci:critical && npm run test:ci && npm run build",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.main.json"
},
"dependencies": {
"@mozilla/readability": "^0.5.0",
"better-sqlite3": "^11.7.0",
"date-fns": "^4.1.0",
"jsdom": "^25.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"turndown": "^7.2.0",
"uuid": "^11.0.3",
"zustand": "^5.0.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/better-sqlite3": "^7.6.11",
"@types/jsdom": "^21.1.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/turndown": "^5.0.5",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.2.4",
"autoprefixer": "^10.4.20",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"electron-vite": "^2.3.0",
"png-to-ico": "^3.0.1",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitest": "^3.0.5"
},
"build": {
"appId": "io.lexpatrol.desktop",
"productName": "LexPatrol",
"copyright": "Copyright © LexPatrol",
"publish": null,
"icon": "resources/app-icon.png",
"directories": {
"output": "LexPatrool-bin"
},
"files": [
"out/**/*",
"package.json"
],
"asarUnpack": [
"**/node_modules/better-sqlite3/**/*"
],
"extraResources": [
{
"from": "src/db/migrations",
"to": "migrations"
},
{
"from": "resources/splash.html",
"to": "splash.html"
},
{
"from": "resources/app-icon.png",
"to": "app-icon.png"
}
],
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"verifyUpdateCodeSignature": false,
"signDlls": false
},
"nsis": {
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": false,
"perMachine": false,
"warningsAsErrors": false,
"deleteAppDataOnUninstall": false,
"runAfterFinish": true
}
}
}