-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
137 lines (137 loc) · 4.24 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
133
134
135
136
137
{
"name": "cadt-ui",
"private": true,
"version": "2.0.4",
"type": "module",
"main": "build/main.js",
"engineStrict": true,
"author": "Chia Network Inc. <[email protected]>",
"description": "Climate Action Data Trust User Interface",
"engines": {
"node": ">=20.16"
},
"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",
"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": {
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@mui/material": "^5.16.8",
"@reduxjs/toolkit": "^2.4.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.9",
"@types/styled-components": "^5.1.34",
"@xterm/xterm": "^5.5.0",
"components": "^0.1.0",
"dayjs": "^1.11.13",
"diff": "^5.2.0",
"flowbite": "^2.5.2",
"flowbite-react": "^0.10.2",
"flowbite-typography": "^1.0.5",
"formik": "^2.4.6",
"lodash": "^4.17.21",
"qrcode.react": "^3.2.0",
"react": "^18.3.1",
"react-content-loader": "^7.0.2",
"react-dom": "^18.3.1",
"react-intl": "^7.0.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.28.0",
"react-webview": "^0.1.0",
"redux-persist": "^6.0.0",
"simplebar": "^6.2.7",
"simplebar-react": "^3.2.6",
"styled-components": "^6.1.13",
"tailwind-scrollbar": "^3.1.0",
"uuid": "^9.0.1",
"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": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"autoprefixer": "^10.4.20",
"commitlint": "^19.6.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^28.3.3",
"electron-builder": "^24.13.3",
"eslint": "^8.57.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.16",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"prettier": "^3.4.1",
"prettier-eslint": "^16.3.0",
"standard-version": "^9.5.0",
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"wait-on": "^7.2.0"
},
"standard-version": {
"skip": {
"bump": true,
"commit": true,
"tag": true
}
},
"lint-staged": {
"*.+(js|ts|tsx)": "npm run lint:prettier-eslint"
},
"build": {
"appId": "org.worldbank.climate-action-data-trust",
"productName": "cadt-ui",
"files": [
"build/renderer/**/*",
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "public"
},
"mac": {
"target": {
"target": "dmg",
"arch": [
"universal"
]
},
"publish": null,
"icon": "src/assets/img/CADT_Icon.png"
},
"win": {
"target": "nsis",
"publish": null,
"icon": "src/assets/img/CADT_Icon.png"
},
"linux": {
"target": "deb",
"description": "Climate Action Data Trust User Interface",
"maintainer": "Chia Network Inc. <[email protected]>",
"vendor": "https://climateactiondata.org/",
"publish": null,
"icon": "src/assets/img/CADT_Icon.png",
"desktop": {
"Icon": "/usr/share/icons/hicolor/0x0/apps/cadt-ui.png"
}
}
}
}