-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.08 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
{
"name": "core-registry-dashboard",
"private": true,
"version": "1.0.3",
"type": "module",
"main": "build/main.js",
"engineStrict": true,
"author": "Chia Network Inc. <hello@chia.net>",
"description": "Core Registry Dashboard",
"engines": {
"node": ">=20.0"
},
"scripts": {
"start": "vite",
"build": "npm run clean && tsc && cp src/preload.js build/preload.js && vite build",
"web-build": "npm run build && npm run prep-web-production",
"prep-web-production": "cp -r build/renderer/* build && rm -rf build/main.js build/preload.js build/renderer",
"electron": "npm run clean && tsc && cp src/preload.js build/preload.js && cross-env NODE_ENV=development electron .",
"dev": "concurrently \"npm run start\" \"npm run electron\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"clean": "rm -rf dist && rm -rf build",
"prepare": "husky install",
"electron:package:mac": "npm run clean && npm run build && electron-builder -m -c.extraMetadata.main=build/main.js",
"electron:package:win": "npm run clean && npm run build && electron-builder -w -c.extraMetadata.main=build/main.js",
"electron:package:linux": "npm run clean && npm run build && electron-builder -l -c.extraMetadata.main=build/main.js"
},
"dependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@reduxjs/toolkit": "^2.5.0",
"@types/styled-components": "^5.1.34",
"@xterm/xterm": "^5.5.0",
"chart.js": "^4.4.7",
"chartjs-plugin-datalabels": "^2.2.0",
"dayjs": "^1.11.13",
"flowbite": "^2.5.2",
"flowbite-react": "^0.10.2",
"formik": "^2.4.6",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-content-loader": "^7.0.2",
"react-dom": "^18.3.1",
"react-icons": "^5.4.0",
"react-intl": "^7.0.1",
"react-redux": "^9.1.2",
"react-router-dom": "^7.0.2",
"redux-persist": "^6.0.0",
"simplebar": "^6.2.7",
"simplebar-react": "^3.2.6",
"styled-components": "^6.1.13",
"uuid": "^11.0.3",
"yup": "^1.4.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitejs/plugin-react-swc": "^3.7.2",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"standard-version": "^9.5.0",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"wait-on": "^8.0.1"
},
"standard-version": {
"skip": {
"bump": true,
"commit": true,
"tag": true
}
},
"lint-staged": {
"*.+(js|ts|tsx)": "npm run lint:prettier-eslint"
},
"build": {
"appId": "org.chia.core-registry-dashboard",
"productName": "core-registry-dashboard",
"files": [
"build/renderer/**/*",
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "public"
},
"mac": {
"target": {
"target": "dmg",
"arch": [
"universal"
]
},
"publish": null,
"icon": "src/renderer/assets/img/dashboard-icon.png"
},
"win": {
"target": "nsis",
"publish": null,
"icon": "src/renderer/assets/img/dashboard-icon.png"
},
"linux": {
"target": "deb",
"description": "Core Registry Dashboard",
"maintainer": "Chia Network Inc. <hello@chia.net>",
"vendor": "https://www.chia.net/",
"publish": null,
"icon": "src/renderer/assets/img/dashboard-icon.png",
"desktop": {
"Icon": "/usr/share/icons/hicolor/0x0/apps/dashboard-icon.png"
}
}
}
}