-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.8 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 2.8 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
{
"name": "hud-viewer",
"version": "1.1.0",
"private": true,
"author": "Lexogrine",
"homepage": "./",
"dependencies": {
"@types/jest": "^26.0.15",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/socket.io-client": "^3.0.0",
"@vitejs/plugin-react": "^4.3.4",
"bootstrap": "^4.5.3",
"csgogsi-generator": "^1.0.0",
"del-cli": "^6.0.0",
"node-fetch": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reactstrap": "^8.10.0",
"registry-js": "^1.16.0",
"socket.io-client": "^4.8.1",
"steam-game-path": "^1.1.1",
"typescript": "^5.6.3",
"vite": "^6.0.1",
"vite-plugin-svgr": "^4.3.0",
"web-vitals": "^0.2.4"
},
"build": {
"appId": "com.lexogrine.hudviewer",
"productName": "Lexogrine HUD Viewer",
"win": {
"icon": "./dist/build/favicon.ico",
"target": "NSIS"
},
"directories": {
"output": "app",
"buildResources": "assets"
},
"files": [
"dist/**/*",
"package.json",
{
"from": "dist",
"to": "build",
"filter": "**/*"
},
"!**/*.asar",
"!**/app/**/*",
"!**/app/*",
"!**/win-unpacked/*",
"!**/.git/**/*",
"!**/.git/*"
]
},
"main": "dist/electron.js",
"scripts": {
"transpile": "tsc -p tsconfig.electron.json",
"start": "vite dev --host",
"build": "npm run transpile && del-cli build && vite build",
"devElectron": "cross-env VITE_DEV=true electron ./",
"electron": "npm run transpile && npm run devElectron",
"test": "react-scripts test",
"dev": "concurrently \"cross-env BROWSER=none npm start\" \"npm run electron\"",
"dist": "electron-builder",
"lint": "eslint . --ext .ts,.tsx",
"compile": "npm run build && npm run dist",
"eject": "react-scripts eject",
"prettier-format": "prettier --config .prettierrc --write **/*.{ts,tsx}"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/node": "^18.19.55",
"@types/node-fetch": "^2.6.1",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"electron": "^30.5.1",
"electron-builder": "^26.0.0-alpha.2",
"electron-rebuild": "^2.3.4",
"eslint": "^7.17.0",
"eslint-plugin-react": "^7.22.0",
"husky": "^4.3.6",
"ip": "^1.1.5",
"prettier": "^2.2.1",
"wait-on": "^5.2.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier-format && npm run lint"
}
}
}